[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Discounting Turns OK after Re-calculate?
I have a problem when discounting for cart lines. My codes in
the cart are as following:
...
[item-list ...]
[discount code="[item-sku]"]$s-5[/discount]
[item-sku] : [item-price] : [discount-price] : [item-difference] :
[item-subtotal] : [item-discount-subtotal] : [item-discount] <br>
[/item-list]
Subtotal: [subtotal]
...
The problem is that, when a product is newly putted into the
cart, [discount-price] is the same as [item-price];
[item-discount-subtotal] is the same as [item-subtotal];
[item-differece] and [item-discount] are both zero. Whereas, [subtotal]
is correct according to the discounting.
Then, after I click the "Re-calculate" button, the cart page
refreshes and all values turns ok.
Is it a bug? Can anybody help on this?
Thanks and Regards,
Vincent Kore