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

#   set code for buy

##

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

Less More

- Posts: 221
- Thank you received: 8
-

9 years 4 months ago -  9 years 4 months ago [\#274379](#274379) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[set code for buy](/forum/27-checkout/891224-set-code-for-buy#274379 "-- Joomla version -- : 3.7.3 i'm using hikashop  hi. how i can some codes for buy one product? i want only users that have that codes can buy that's product. for example i want add 1000 custom code like 123456 and every user that i give them that's codes via sms , can buy one specify product . how to do that?")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

-- Joomla version -- : 3.7.3
i'm using hikashop

hi.
how i can some codes for buy one product?
i want only users that have that codes can buy that's product.
for example i want add 1000 custom code like 123456 and every user that i give them that's codes via sms , can buy one specify product .
how to do that?

Last edit: 9 years 4 months ago by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTIyNC1zZXQtY29kZS1mb3ItYnV5P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#274383](#274383) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[set code for buy](/forum/27-checkout/891224-set-code-for-buy#274383 "-- Joomla version -- : 3.7.3 i'm using hikashop  hi. how i can some codes for buy one product? i want only users that have that codes can buy that's product. for example i want add 1000 custom code like 123456 and every user that i give them that's codes via sms , can buy one specify product . how to do that?")*

Hello,

It depends what is the final goal of the code. Is that to gives a product for free or to authorize the product to be purchased ?

You can use a one-time coupon for a specific product (requires HikaShop essential for advanced restriction on coupons).
[ www.hikashop.com/support/documentation/1...p-discount-form.html](https://www.hikashop.com/support/documentation/10-documentation/hikashop/27-hikashop-discount-form.html)

You can use a serial with the plugin "product add consume" (requires HikaSerial).
[ www.hikashop.com/support/documentation/3...ductaddconsumer.html](https://www.hikashop.com/support/documentation/346-hikaserial-plugins-productaddconsumer.html)

Regards,

---

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

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTIyNC1zZXQtY29kZS1mb3ItYnV5P3RtcGw9bWFya2Rvd24=) 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?

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

Time to create page: 0.039 seconds

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