Posted on 26/09/2023 08:36:13
Hi Nicolai,
I'm trying to understand this scenario a bit better "If it is a 'real' discount - i.e. meaning that it is triggered by timeframe or voucher, then you can use orderline fields for the product that gives you the free product."
As I read it, one of the main complexities is that the order is recalculated during checkout, making the solution more diffcult since you then need to hook in to the process at different points.
Since I know the free product is not a product that is normally sold in the shop, I guess we could also add the products with price 0 to the catalog, and filter it out of the product list. Then the discount rule can just add the free product, which will show up with price 0, and then the only thing that would need to be customized is the selection of a variant in the cart (ofcourse all variant should then be there with price zero).
Makes sense or am I overlooking something?
Thanks,
Justin