- Posts: 27
- Thank you received: 0
coupons used only once
9 years 7 months ago #263333
by bf360
coupons used only once was created by bf360
-- HikaShop version -- : 2.6.0
-- HikaSerial version -- : 1.10.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.5.12
Hi! using the instructions that i read on this post i realized the coupon system that i wanted using:
- an unpublished template coupon within hikashop/discounts/coupons
- created the serial within hikaserial/plugins/coupon - hikaserial generator plugin
- connect the pack to one product
Now if i go on hikashop/discounts/coupons i see the generated coupon. I tested and the coupon set to zero the price product. Perfect.
The only thing I wish is that all generated coupons were used only once. Once a customer has consumed a coupon this should become unusable. How can I do ?
Regards,
Roberto
-- HikaSerial version -- : 1.10.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.5.12
Hi! using the instructions that i read on this post i realized the coupon system that i wanted using:
- an unpublished template coupon within hikashop/discounts/coupons
- created the serial within hikaserial/plugins/coupon - hikaserial generator plugin
- connect the pack to one product
Now if i go on hikashop/discounts/coupons i see the generated coupon. I tested and the coupon set to zero the price product. Perfect.
The only thing I wish is that all generated coupons were used only once. Once a customer has consumed a coupon this should become unusable. How can I do ?
Regards,
Roberto
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263336
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic coupons used only once
Hi,
www.hikashop.com/support/documentation/1...rm.html#restrictions
Regards,
You might need to set a quota for your coupon.Because the system use a coupon template, all the restrictions (product, quantity) you will put in the template will be the same for all generated coupons.
www.hikashop.com/support/documentation/1...rm.html#restrictions
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263380
by bf360
Replied by bf360 on topic coupons used only once
Hi! thanks...i set "quota" and "quota per user" to 1 on the unpublished template (image1 of my previous post)
Now i generate my X coupon using the pack...on hikashop/discounts/coupons i see the generated coupon.
When user use a coupon, it set to zero the price, and so user finalize the purchase.
The problem is that on hikashop/discounts/coupons is created a new coupon! This new serial is print on the confirmation email order that the user receive...so the user could have not 1 but 2 coupon.
Now i generate my X coupon using the pack...on hikashop/discounts/coupons i see the generated coupon.
When user use a coupon, it set to zero the price, and so user finalize the purchase.
The problem is that on hikashop/discounts/coupons is created a new coupon! This new serial is print on the confirmation email order that the user receive...so the user could have not 1 but 2 coupon.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263383
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic coupons used only once
Hi,
I'm afraid that I don't understand the issue you're trying to describe.
Regards,
I'm afraid that I don't understand the issue you're trying to describe.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263439
by bf360
Replied by bf360 on topic coupons used only once
Scuse for my bad english 
I have to create X coupon to deliver to X customers. Coupons set to zero the price of the product.
To do this i follow this step:
1.create an unpublished template coupon within hikashop/discounts/coupons. The template (configured like the above image) have "quota" and "quota per user" set to 1
2. i create a coupon generator plugin that use the template like id coupon ( and specific serial format)
3. i create a pack using the coupon generator created at point 2
4. from pack i generate the X coupon
Now...i try to use this coupon.
I try to login with a test user, add on the cart a product using one of the coupon: the price is correctly set to zero. The user can procede to have the product for free.
At the end, the user receive the confirmation order on his email.
Here the issue: the user receive the confirmation email order containing a new coupon id (different from the one used for the purchase)- In this way the user could receive 2 free coupon: one received from me and one created from hikashop and report on the confermation email order.
Infact on hikashop/discounts/coupons i found the coupon that i generate that result used, and a new generated coupon that result usable. I don't want that this second coupon is generated.
How can i do?
I hope that now my issue is more clear
Regards,
Rob
I have to create X coupon to deliver to X customers. Coupons set to zero the price of the product.
To do this i follow this step:
1.create an unpublished template coupon within hikashop/discounts/coupons. The template (configured like the above image) have "quota" and "quota per user" set to 1
2. i create a coupon generator plugin that use the template like id coupon ( and specific serial format)
3. i create a pack using the coupon generator created at point 2
4. from pack i generate the X coupon
Now...i try to use this coupon.
I try to login with a test user, add on the cart a product using one of the coupon: the price is correctly set to zero. The user can procede to have the product for free.
At the end, the user receive the confirmation order on his email.
Here the issue: the user receive the confirmation email order containing a new coupon id (different from the one used for the purchase)- In this way the user could receive 2 free coupon: one received from me and one created from hikashop and report on the confermation email order.
Infact on hikashop/discounts/coupons i found the coupon that i generate that result used, and a new generated coupon that result usable. I don't want that this second coupon is generated.
How can i do?
I hope that now my issue is more clear
Regards,
Rob
Please Log in or Create an account to join the conversation.
9 years 7 months ago #263451
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic coupons used only once
Hi,
When you associate an HikaSerial pack with a product, each time the product is bough, a serial is generated and given to the customer.
So if with a coupon, your customer is buying a product which give him a serial, he will receive a serial (coupon).
If you don't want that second serial to be generated, you have to remove the pack association or change the rules in your coupon so it cannot be used for products which give you a serial.
Regards,
When you associate an HikaSerial pack with a product, each time the product is bough, a serial is generated and given to the customer.
So if with a coupon, your customer is buying a product which give him a serial, he will receive a serial (coupon).
If you don't want that second serial to be generated, you have to remove the pack association or change the rules in your coupon so it cannot be used for products which give you a serial.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.214 seconds