silvershop / silvershop-discounts

Adds Discount and Coupon support for SilverShop
Other
9 stars 38 forks source link

Discounts added to orders, when viewing in ModelAdmin #47

Closed thomasbnielsen closed 7 years ago

thomasbnielsen commented 8 years ago

We believe we have found a bug, that causes coupons to be applied to all orders viewed in backend/Orders modeladmin. Can someone test and see if they get the same result please.

Steps to reproduce:

  1. Log in as an administrator
  2. Go to the frontend of shop
  3. Add a product to cart
  4. Go to checkout page and apply a coupon code - leave the page open
  5. Now in a new tab, go and visit a order in backend - the selected coupon code is applied to the order

(Coupon percentage based, applies per item, only Product Types "Product")

pmhou commented 7 years ago

I can confirm the same bug.

pmhou commented 7 years ago

So the reverse happens after a discount period has expired. Orders that were discounted are missing the discount modifier when viewing the order.