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

#   Possible to require specific products in order to be able to checkout?

##

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

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

9 years 3 months ago -  9 years 3 months ago [\#275318](#275318) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  *[Possible to require specific products in order to be able to checkout?](/forum/27-checkout/891400-possible-to-require-specific-products-in-order-to-be-able-to-checkout#275318 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6.31  Got a odd request to require a minimum of 4 specific, different products in any given order.  I see I can set a minimum of just 4 products (of any kind) per order via shipping methods.  But I see no way to require specific products in an order.  Is there a way that I'm missing or would this require a custom plugin or changes to a particular view?")* was created by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 5.6.31

Got a odd request to require a minimum of 4 specific, different products in any given order.

I see I can set a minimum of just 4 products (of any kind) per order via shipping methods.

But I see no way to require specific products in an order.

Is there a way that I'm missing or would this require a custom plugin or changes to a particular view?

Last edit: 9 years 3 months ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTQwMC1wb3NzaWJsZS10by1yZXF1aXJlLXNwZWNpZmljLXByb2R1Y3RzLWluLW9yZGVyLXRvLWJlLWFibGUtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) 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 3 months ago [\#275319](#275319) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Possible to require specific products in order to be able to checkout?](/forum/27-checkout/891400-possible-to-require-specific-products-in-order-to-be-able-to-checkout#275319 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.4 -- PHP version -- : 5.6.31  Got a odd request to require a minimum of 4 specific, different products in any given order.  I see I can set a minimum of just 4 products (of any kind) per order via shipping methods.  But I see no way to require specific products in an order.  Is there a way that I'm missing or would this require a custom plugin or changes to a particular view?")*

Hello,

Due to the specificity of the "restriction", it would require a custom plugin.
Best would be to use "onBeforeOrderCreate" trigger ; check the cart content and authorize or not the rest of the workflow thanks to the " $do " variable in the trigger.
[ www.hikashop.com/support/documentation/6...#onBeforeOrderCreate](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onBeforeOrderCreate)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTQwMC1wb3NzaWJsZS10by1yZXF1aXJlLXNwZWNpZmljLXByb2R1Y3RzLWluLW9yZGVyLXRvLWJlLWFibGUtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) 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.066 seconds

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