tastyigniter / ti-ext-coupons

A TastyIgniter extension that allows you to offer coupon codes and discounts to your customers
MIT License
4 stars 7 forks source link

Feature request: MultiBuy #11

Open Zelig880 opened 3 years ago

Zelig880 commented 3 years ago

As an user of the Coupons extension of Tastyigniter V3, I would like to be able to define offers based on the quantity of specific items being bought.

Real life example: As an restaurant owner, I would like to offer the ability for customer to buy 3 tapas for 10 £.

Steps to reproduce

ryanmitchell commented 3 years ago

So my thoughts on this would be:

We add a new discount type of "Fixed price", and maybe rename "Fixed amount" to "Amount". The discount value field then serves as the price you want to sell at. Add new fields for minimum quantity, maximum quantity, and maximum uses (eg 1 if you only want it to be allowed to be used once per order)

Then we apply similar logic to what we've just done for apportioning to apply the discount.

@Zelig880 does this cover it off do you think?

@sampoyigi do you have any other thoughts?

sampoyigi commented 3 years ago

Just one question, do we do the minimum number on individual items or on the overall items in cart?

ryanmitchell commented 3 years ago

It would be on individual items.

On 2 Feb 2021, at 23:38, Sam Poyigi notifications@github.com wrote:

 Just one question, do we do the minimum number on individual items or on the overall items in cart?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.