Wrong price and order subtotal calculation when using a promotion + a promotion with coupons

Created on 9 March 2022, over 2 years ago
Updated 24 November 2023, 7 months ago

If a bug, provide steps to reproduce it

1. Clean install, only make sure variation price is calculated, not default
2. Add product 1 (price $30)
3. Create first promotion "50% Off Prod 1" (Include the discount in the displayed unit price)
4. Create second promotion "-10 from order subtotal" and a coupon.
5. add product to cart, apply coupon, proceed to checkout

Expected results

Actual results

If there's no coupon applied, the product price, subtotal and total are correctly calculated


I'm not sure if this bug is new but right now there's no way to have a promotion for a product + a coupon for the order subtotal.

Thanks.

πŸ› Bug report
Status

Fixed

Version

2.29

Component

Promotions

Created by

πŸ‡·πŸ‡΄Romania gge

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States loze

    Im my case I do want to calculate the percentage price off the adjusted price. Is there a way to do this?

Production build 0.69.0 2024