cubecart / v6

CubeCart Version 6
https://cubecart.com
72 stars 59 forks source link

Sale item restriction bug with discount code #3491

Open abrookbanks opened 6 months ago

abrookbanks commented 6 months ago

I was about to send a newsletter and was testing the voucher code. I noticed that there is a bug under one condition. I selected The Sale Product Restriction option as enabled as not to apply to sale items. If I add a sale item to checkout with the voucher, no problem, code does not work. If I add one full price item and a sale item in checkout and then add the code, not problem. However, if I add a full price item, add the code, then continue shopping, add a sale item, the code will discount the sale item as well. I then need to click on update for the code to exclude the sale item. It is not a massive bug but it can cause issues with some customers questioning why is the discount amounting to £xx on one page and £x on the next page. I hope you can follow me.

abrookbanks commented 4 months ago

https://github.com/cubecart/v6/assets/4520803/fcb4ad34-313b-4bff-b694-ec6183d47b9d

abrookbanks commented 4 months ago

Able to reproduce when jump to basket enabled.

abrookbanks commented 4 months ago

Reopened due to new bug see #3557