Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

Custom promotion applying different discounts per lineitem?

$
0
0

I'm trying to understand if it's possible to create a custom promotion (https://docs.developers.optimizely.com/customized-commerce/docs/custom-promotions) in Optimizely Commerce (version 14.22.0) where certain line items get a percentage discount (15%) and certain other line items get a calculated discount based on the price of the line item?

The problem comes from having packages which contain a variant and the price of the package also includes labor cost for installing the variant, which should not be touched by the percentage discount. However, if the variant itself is added to the cart it should get a 15% discount straight up. 

Is this possible to handle in a way that some line items get 15% discount while for others we calculate the discount? Or is it possible to have a promotion where we calculate different discounts line item by line item?

I have to say that I find the documentation regarding custom promotions quite hard to follow so any help would be appreciated. 


Viewing all articles
Browse latest Browse all 9642

Trending Articles