Commerce: Allow percentage-based Discounts at the Order level

Created on 7 Aug 2018  路  4Comments  路  Source: craftcms/commerce

It would be awesome to be able to offer percentage-based Discounts to order totals.

Most of the existing logic is still valid鈥攂ut there's apt to be another check, once a Discount matches an order (i.e. if there are no Variants/Products required to match, or a matching one is found in the order), a new Discount attribute could get checked (Discount::baseDiscountPercentage?), either in addition to baseDiscount, or instead of it.

This is probably a bit of a UX issue, as well, but wanted to get the conversation started from an engineering perspective.

Thanks for tuning in!

馃挕 enhancement 馃摚 promotions

Most helpful comment

+1 for this, and just to make sure I'm on the same page. Right now you can set a discount of a dollar value from the total of the cart - this is great, but we'd like this to be a percentage.

Say, we want to have a coupon code that provides 10% off the entire order - a very common scenario I'd imagine. I can set "10% off the discounted item price", but will get a pretty ugly looking cart as below (using coupon code TEST).

screen shot 2019-02-16 at 10 43 37 am

The discounts are applied to each line item in the cart, which isn't a great look.

Or - is this possible now in some other fashion?

All 4 comments

+1 for this, and just to make sure I'm on the same page. Right now you can set a discount of a dollar value from the total of the cart - this is great, but we'd like this to be a percentage.

Say, we want to have a coupon code that provides 10% off the entire order - a very common scenario I'd imagine. I can set "10% off the discounted item price", but will get a pretty ugly looking cart as below (using coupon code TEST).

screen shot 2019-02-16 at 10 43 37 am

The discounts are applied to each line item in the cart, which isn't a great look.

Or - is this possible now in some other fashion?

Wondering if there鈥檚 an update to this?

Thanks

Closed by #1131

What happened with this as I need this facility at the moment, and whats been described above looks exactly right but can't actually see the facility in Craft?

Was this page helpful?
0 / 5 - 0 ratings