Hi,
My point is to restrict the way people "get" their coupons, not how they can "use" their coupons ..
No, in fact I got that point ; but what you're trying to do at the beginning of that thread is in fact the opposite of what you want to achieve.
The restriction on the coupon is the restriction for the coupon ; how the user can use them.
That's why I was so confuse between your explanations and your configuration.
And when there are contradictory elements in a request, I'm not able to schematize the requirements.
So, now the specifications are complete !
Please see the plugin attached which is an update for the plugin "serial per order" with some new settings.
It will allow to specify a minimum and maximum of products in an order.
Which means you will need :
- One "serial per order" instance per quantity range.
- One HikaSerial pack for each "serial per order" instance
- One HikaSerial "coupon generator" per HikaSerial pack
- One coupon template per "coupon generator".
Example :
Coupon " NT$300 " (with the discount you want) - unpublished
Coupon " NT$500 " (with the discount you want) - unpublished
Coupon Generator " CG_NT300 ", using the coupon " NT$300 " as coupon template.
Coupon Generator " CG_NT500 ", using the coupon " NT$500 " as coupon template.
Pack " P_NT300 " using the coupon generator " CG_NT300 "
Pack " P_NT500 " using the coupon generator "CG_NT500 "
Serial per Order " S_NT300 " link to the pack " P_NT300 ".
Minimum quantity : 6
Maximum quantity : 7
Serial per Order " S_NT500 " link to the pack " P_NT500 ".
Minimum quantity : 8
Maximum quantity : 10
If you set a minimum or maximum quantity to 0 ; they won't have any limitation.
Which mean that you can have
Serial per Order " S_NT500 " link to the pack " P_NT500 ".
Minimum quantity : 8
Maximum quantity : 0
To provide a serial when buying 8 or more products.
Regards,