tastyigniter/ti-ext-coupons

Feature request: MultiBuy

Opened this issue · 3 comments

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

  • Create a coupons
  • Complete all required fields on the general tab
  • Click the Restrictions tab

Expected

  • I should be able to enter a minimum number of items for the offer to be valid

Actual

  • I can just enter a minimum amount

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?

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