Formula Pricing (Advanced Config Add-On)
Formula pricing requires the Pricesystem Advanced Config Add-On:
- Composer package:
mageb2b/pricesystem-advancedconfig - Magento module:
MageB2B_PricesystemCoreAdvancedConfig
When Formula Pricing Is Used
Formula pricing is used when the selected strategy is "Individual price formula":
- globally via
pricesystem/price_select_rule/priceselect = 4, or - via customer/group override (customer/group UI option "Individual price formula")
Variables (Price Codes)
To reference Customerprice in formulas, use:
customer_price
You can also reference other price codes such as special_price, tier_price, catalog_rule_price, orig_price, etc.
Notes:
- Both
code_with_underscoresandcodewithunderscoresare accepted. orig_priceis always available as a reference for fallback and for formulas.
Missing Inputs And Fallback
Formula behavior is controlled by system configuration:
- Missing values behavior:
pricesystem/price_select_rule/formula_missing_input_behavior - Formula error fallback:
pricesystem/price_select_rule/formula_fallback_strategy
