Hi Peter,
Thanks for the reply. Ive done alot of work with VM and am fairly familiar with the codebase.
From what I can see, the coupon is being applied to the taxed figure rather than the untaxed figure, however the value that comes out in the cart for the total appears to be correct (somehow), but the value that is stored in the database is not.
Im not test on the latest build so would you mind putting an order in for a product that has a net value of 8.5 and a 10% discount and see what values are present in the cart and then subsequently saved in the DB.
This is a real sticking point for us as our client has sent out hundreds of promotional flyers with the coupon code, and we cant launch the site if the coupons dont work properly.
I believe I can modify the relevant basket and ro_basket scripts to pass the untaxed value if coupons should be applied before tax and work from there, unless you have any other ideas?
Also, it appears that the serialised product values stored in the DB for the order are the original values and not the values affected by the discount, is this a bug or a feature - as far as I can see, it should be the values affected by the discount.
Im not sure if a post I made a while ago was ever picked up regarding shipping tax, can you tell if it has been noted?
Regards
Oli