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

#   product page from module uses incorrect template

##

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

Less More

- Posts: 37
- Thank you received: 1
-
-

14 years 8 months ago [\#39942](#39942) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  *[product page from module uses incorrect template](/forum/3-bug-report/39942-product-page-from-module-uses-incorrect-template#39942 "I have a couple of different templates set up, including one that i have set up for the home page of our website and one for a facebook page that i am currently creating.  The home page template style is assigned to the home page only. The facebook template style is assinged to the facebook page only. the default master template sytle is assigned to every other page.  All the products when accessed from the menu, show up fine using the normal master template. However, I have a latest products module on the home page which shows random products and when you click on the product it shows the product as if it was applied to the facebook template style.  The link when using the menu and normal category links show this at the end  Which is correct  but when using the &quot;latest product&quot; hikashop module on the home page and clicking on the products it takes me to the product page but uses this link.  which is not correct.  So its missing the &quot;&amp;itemid=262&quot; part in the url.  What could be the problem?")* was created by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")*

I have a couple of different templates set up, including one that i have set up for the home page of our website and one for a facebook page that i am currently creating.

The home page template style is assigned to the home page only.
The facebook template style is assinged to the facebook page only.
the default master template sytle is assigned to every other page.

All the products when accessed from the menu, show up fine using the normal master template.
However, I have a latest products module on the home page which shows random products and when you click on the product it shows the product as if it was applied to the facebook template style.

The link when using the menu and normal category links show this at the end Code:

.../index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=1533&amp;name=snowboard-trousers-unisex-l&amp;Itemid=262&amp;category_pathway=0

Which is correct

but when using the "latest product" hikashop module on the home page and clicking on the products it takes me to the product page but uses this link. Code:

.../index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=1533&amp;name=snowboard-trousers-unisex-l&amp;category_pathway=0

which is not correct.

So its missing the "&amp;itemid=262" part in the url.

What could be the problem?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTk0Mi1wcm9kdWN0LXBhZ2UtZnJvbS1tb2R1bGUtdXNlcy1pbmNvcnJlY3QtdGVtcGxhdGU/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86308
- Thank you received: 14273
-
-

14 years 8 months ago [\#40124](#40124) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: product page from module uses incorrect template](/forum/3-bug-report/39942-product-page-from-module-uses-incorrect-template#40124 "I have a couple of different templates set up, including one that i have set up for the home page of our website and one for a facebook page that i am currently creating.  The home page template style is assigned to the home page only. The facebook template style is assinged to the facebook page only. the default master template sytle is assigned to every other page.  All the products when accessed from the menu, show up fine using the normal master template. However, I have a latest products module on the home page which shows random products and when you click on the product it shows the product as if it was applied to the facebook template style.  The link when using the menu and normal category links show this at the end  Which is correct  but when using the &quot;latest product&quot; hikashop module on the home page and clicking on the products it takes me to the product page but uses this link.  which is not correct.  So its missing the &quot;&amp;itemid=262&quot; part in the url.  What could be the problem?")*

Hi,

In the hikashop options of your module (you can access them via the menu Display-&gt;Content modules), you have an option "menu" where you should set your hikashop product/category listing menu. That way, the links on the module will use the same Itemid.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTk0Mi1wcm9kdWN0LXBhZ2UtZnJvbS1tb2R1bGUtdXNlcy1pbmNvcnJlY3QtdGVtcGxhdGU/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.103 seconds

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

[](#top)
