I'm curious how the Unit Price is being calculated. When setting the Pricing Type to Profit Margin with a Pricing Factor of X, where in the system is this behavior defined? I'm not seeing any formulas defined. I'm looking to duplicate this type of behavior for a few different fields on some custom entities.
Product Unit Price Calculation Question
Collapse
X
-
-
-
-
marcbeinder,
To edit the formula script for a specific entity type, follow Administration > Entity Manager > a needed entity type > Formula.
You will need to convert the equation into a formula, take the values from the fields in which you will enter the values, and enter into another field. You just need to know what names your fields have in custom entities.
Something like that:
Code:unitPrice = (100 * costPrice) / (100 - pricingFactor);
Comment
-
Comment