[Skip to main content](#vessel-content)

#   How to properly set up a Serialized Product Discount Coupon?

##

- **[jtquinto](/forum/user/31780-jtquinto "View jtquinto's Profile")**
- [![jtquinto's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31780-jtquinto "View jtquinto's Profile") Topic Author
- [ Offline](/forum/user/31780-jtquinto)

Less More

- Posts: 30
- Thank you received: 2
-
-

8 years 6 months ago -  8 years 6 months ago [\#292543](#292543) by [jtquinto](/forum/user/31780-jtquinto "View jtquinto's Profile")  *[How to properly set up a Serialized Product Discount Coupon?](/forum/17-serial-how-to/894681-how-to-properly-set-up-a-serialized-product-discount-coupon#292543 "-- HikaShop version -- : 3.4.0 -- HikaSerial version -- : 2.1.1  Newbie question:  I was asked to set up a coupon discount scheme for the store, where the client gets a QR Code and the discount is automatically applied to their next checkout. ... Is this possible in HikaShop? We're using HS Business 3.4.0, and I just installed HSerial 2.1.1 on the site.  From what I gathered in the HSerial Tutorial: I've set up a test scenario with a base Coupon entry (HikaShop&gt;Orders&gt;Coupons), and a HikaSerial Coupon Generator linked/attached to the base Coupon item. After I click Generate, the serialized Coupon items appear in the Coupons section of HikaShop, effectively creating X copies/pcs. of the original base Coupon entry (which is good, so far, as this is what the boss wants).  I'm able to use the Coupon ID during checkout, and it correctly checks/applies the coupon restrictions on the order; and, upon completing the order, the coupon is reported to have 1 less quota impression (which is correct, too). However, in HikaSerial, the serial no. is not associated with the corresponding Order generated by the checkout. ... Can anyone help on how I can automatically close/enforce this association? How can the Serial be automatically consumed, whether by typing in the code in the Checkout page, or by scanning a generated QR Code?  Also...how do I test QR Codes? We'd like the clients to be able to scan the code and it'll automatically bring them to the Product Page or Checkout Page of the site, I've followed the tutorial in making QC codes, but it doesn't tell me how to generate them so I can test.  Quick help would be much appreciated. Thanks!")* was created by *[jtquinto](/forum/user/31780-jtquinto "View jtquinto's Profile")*

-- HikaShop version -- : 3.4.0
-- HikaSerial version -- : 2.1.1

Newbie question:

I was asked to set up a coupon discount scheme for the store, where the client gets a QR Code and the discount is automatically applied to their next checkout. ... Is this possible in HikaShop? We're using HS Business 3.4.0, and I just installed HSerial 2.1.1 on the site.

From what I gathered in the HSerial Tutorial:
I've set up a test scenario with a base Coupon entry (HikaShop&gt;Orders&gt;Coupons), and a HikaSerial Coupon Generator linked/attached to the base Coupon item. After I click Generate, the serialized Coupon items appear in the Coupons section of HikaShop, effectively creating X copies/pcs. of the original base Coupon entry (which is good, so far, as this is what the boss wants).

I'm able to use the Coupon ID during checkout, and it correctly checks/applies the coupon restrictions on the order; and, upon completing the order, the coupon is reported to have 1 less quota impression (which is correct, too). However, in HikaSerial, the serial no. is not associated with the corresponding Order generated by the checkout. ... Can anyone help on how I can automatically close/enforce this association? How can the Serial be automatically consumed, whether by typing in the code in the Checkout page, or by scanning a generated QR Code?

Also...how do I test QR Codes? We'd like the clients to be able to scan the code and it'll automatically bring them to the Product Page or Checkout Page of the site, I've followed the tutorial in making QC codes, but it doesn't tell me how to generate them so I can test.

Quick help would be much appreciated.
Thanks!

Last edit: 8 years 6 months ago by [jtquinto](/forum/user/31780-jtquinto "View jtquinto's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODk0NjgxLWhvdy10by1wcm9wZXJseS1zZXQtdXAtYS1zZXJpYWxpemVkLXByb2R1Y3QtZGlzY291bnQtY291cG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 6 months ago [\#292566](#292566) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to properly set up a Serialized Product Discount Coupon?](/forum/17-serial-how-to/894681-how-to-properly-set-up-a-serialized-product-discount-coupon#292566 "-- HikaShop version -- : 3.4.0 -- HikaSerial version -- : 2.1.1  Newbie question:  I was asked to set up a coupon discount scheme for the store, where the client gets a QR Code and the discount is automatically applied to their next checkout. ... Is this possible in HikaShop? We're using HS Business 3.4.0, and I just installed HSerial 2.1.1 on the site.  From what I gathered in the HSerial Tutorial: I've set up a test scenario with a base Coupon entry (HikaShop&gt;Orders&gt;Coupons), and a HikaSerial Coupon Generator linked/attached to the base Coupon item. After I click Generate, the serialized Coupon items appear in the Coupons section of HikaShop, effectively creating X copies/pcs. of the original base Coupon entry (which is good, so far, as this is what the boss wants).  I'm able to use the Coupon ID during checkout, and it correctly checks/applies the coupon restrictions on the order; and, upon completing the order, the coupon is reported to have 1 less quota impression (which is correct, too). However, in HikaSerial, the serial no. is not associated with the corresponding Order generated by the checkout. ... Can anyone help on how I can automatically close/enforce this association? How can the Serial be automatically consumed, whether by typing in the code in the Checkout page, or by scanning a generated QR Code?  Also...how do I test QR Codes? We'd like the clients to be able to scan the code and it'll automatically bring them to the Product Page or Checkout Page of the site, I've followed the tutorial in making QC codes, but it doesn't tell me how to generate them so I can test.  Quick help would be much appreciated. Thanks!")*

Hello,

If you are using HikaSerial to just generator coupons, you do not need to keep the serials after the generation.

The coupon and the serials are two different things.

When an order is made/product is bought, a serial can be generated and assigned to that specific order.
When a coupon is used, it is added to the order where it has been used.

Generating the coupon manually : you won't have any order assigned.
Serials can't be assigned to the order where the coupon is used ; that's not the workflow.
Serials can't be consume neither, since the consumption is related to HikaSerial actions and you are just using a "coupon" which is something different with no relation with the serial (they just have the same "value").

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODk0NjgxLWhvdy10by1wcm9wZXJseS1zZXQtdXAtYS1zZXJpYWxpemVkLXByb2R1Y3QtZGlzY291bnQtY291cG9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
