
Hi,
I'm trying to create an expression (using an attribute based pricing model) that can give a discount on the price total if a certain attribute is selected.
For example, if the attribute "Yellow front cover" is selected, then the price total must be discounted by 25%.
Is this possible? If not by an expression; are there other possibilities?
Thanks in advance.
I think this is not possible in standard. I would say that we might achieve that using API but this will require development.
What we need to do is to modify the discount percentage on the sales order line after we create the product. I think this is possible. For example I know customers who are adding an attribute and then modify the quantity of the sales line based on this attribute.
It is a common customization from customers and Product team is aware of that and will implement that in standard but for the moment is not the case.
With API it is possible to do. SO, similarly, I think we can simply add a discount percentage attribute on the model and then create custo to take this value on the discount percentage in sales line.