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

#   display two related product module in each product page

##

- **[kaya](/forum/user/25605-kaya "View kaya's Profile")**
- [![kaya's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/25605-kaya "View kaya's Profile") Topic Author
- [ Offline](/forum/user/25605-kaya)

Less More

- Posts: 120
- Thank you received: 2
-
-
- [](http://arasjoomla.ir)
-

8 years 9 months ago [\#286593](#286593) by [kaya](/forum/user/25605-kaya "View kaya's Profile")  *[display two related product module in each product page](/forum/26-product-category-display/893592-display-two-related-product-module-in-each-product-page#286593 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.x  Hi dear I need create two related product module for each product and display in product page. when create product we have one box for add related products. How can we add two related module? thank you")* was created by *[kaya](/forum/user/25605-kaya "View kaya's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.x

Hi dear
I need create two related product module for each product and display in product page. when create product we have one box for add related products. How can we add two related module?
thank you

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

8 years 9 months ago [\#286601](#286601) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[display two related product module in each product page](/forum/26-product-category-display/893592-display-two-related-product-module-in-each-product-page#286601 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.x  Hi dear I need create two related product module for each product and display in product page. when create product we have one box for add related products. How can we add two related module? thank you")*

Hi,

There is no easy way to do that.
It would require developping a custom plugin to add such extra option to the product edition interface using the onHikashopBeforeDisplayView trigger, then add an extra option to the module edition interface using the same onHikashopBeforeDisplayView trigger, then handling the saving of the first option in the onBeforeProductCreate and onBeforeProductUpdate triggers, and finally, add the filter on the product loading query for the modules with the option activated using the onBeforeProductListingLoad trigger.

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