Hi folks
I have a question about a discount-function in the cart v2
On this page http://sport.borgbigum.dk/Default.aspx?ID=20&ProductID=PROD176&VariantID=VO105.VO130
we have built a custom discount-function that gives discount in steps based on the quantity of the product.
When the customer goes to the show-cart step, The unit-price is calculated with our custom price matrix.
Now the question is - these products have variants both with size and color, and we want to make this discount so, that the discount is calculated on the quantity of all variant-products.
- A quantity-discount across variants.
This seems hard to do because each variant has its own orderline, and we cant seem to take the quantity of all these variants and use as base of the unit-price calculation.
The case is obvious seen from the customer point of view:
Say I buy 25 shirts in same color and size - I get a lower unitprice - fine.
But if i buy the same shirt, 10 in red, 10 in blue and 5 in XXL, then I wont get the discount - because it isn't calculated across variants!!!
As a customer I wouldn't accept this - and so our customer doesn't either :-)
So we fight a bit with this, but now we have to ask you guys - how to ... do this???
Kind regards
Rasmus Thirslund
Project manager