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

#   specify "joomla-template" for product-detail when clicking in product list

##

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

Less More

- Posts: 7
- Thank you received: 0
-

5 years 9 months ago -  5 years 9 months ago [\#329147](#329147) by [espitalier](/forum/user/56723-espitalier "View espitalier's Profile")  *[specify "joomla-template" for product-detail when clicking in product list](/forum/25-install-update/901838-specify-joomla-template-for-product-detail-when-clicking-in-product-list#329147 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Safari 14.0.3  Hi,  When I use the word 'template' I always mean &quot;Joomla-Template&quot;  I have a template A (without margins) and a template B (with margins). A is the default template for all pages. I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products') In the menuitem I selected template B. It works, if I call my shop it shows in template B.  Now I select a product and then I get to the product-detail-page but it shows up in template A.  Where can I select the template for the product-detail-page?  Thank You very much, Frédéric Espitalier  Update just to give it a hot fix I changed the 'default-joomla-Template' from A to B, so I see, that the product-detail-page always takes the default-template, but that has to be selected somewhere in HikaShop, doesn't?")* was created by *[espitalier](/forum/user/56723-espitalier "View espitalier's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.27
-- Browser(s) name and version -- : Safari 14.0.3

Hi,

When I use the word 'template' I always mean "Joomla-Template"

I have a template A (without margins) and a template B (with margins).
A is the default template for all pages.
I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products')
In the menuitem I selected template B.
It works, if I call my shop it shows in template B.
[ ![recolorredstore-2021-02-05-tbh8r&#95;2021-02-05-2.png](/forum/attachment/51845) ](/forum/attachment/51845 "...21-02-05-2.png")

Now I select a product and then I get to the product-detail-page
**but it shows up in template A.**
[ ![WeirdDreamsHoodie-2021-02-05-17zr6&#95;2021-02-05.png](/forum/attachment/51844) ](/forum/attachment/51844 "...2021-02-05.png")

**Where can I select the template for the product-detail-page?**

Thank You very much,
Frédéric Espitalier

**Update**
just to give it a hot fix I changed the 'default-joomla-Template' from A to B,
so I see, that the product-detail-page always takes the default-template,
but that has to be selected somewhere in HikaShop, doesn't?

- [ ![WeirdDreamsHoodie-2021-02-05-17zr6&#95;2021-02-05.png](/forum/attachment/51844) ](/forum/attachment/51844 "...2021-02-05.png") [ ](/forum/attachment/51844?download=1 "...2021-02-05.png")
- [ ![recolorredstore-2021-02-05-tbh8r&#95;2021-02-05-2.png](/forum/attachment/51845) ](/forum/attachment/51845 "...21-02-05-2.png") [ ](/forum/attachment/51845?download=1 "...21-02-05-2.png")

Last edit: 5 years 9 months ago by [espitalier](/forum/user/56723-espitalier "View espitalier's Profile"). Reason: Updated to hot fix but NOT solved

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

5 years 9 months ago [\#329152](#329152) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[specify "joomla-template" for product-detail when clicking in product list](/forum/25-install-update/901838-specify-joomla-template-for-product-detail-when-clicking-in-product-list#329152 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Safari 14.0.3  Hi,  When I use the word 'template' I always mean &quot;Joomla-Template&quot;  I have a template A (without margins) and a template B (with margins). A is the default template for all pages. I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products') In the menuitem I selected template B. It works, if I call my shop it shows in template B.  Now I select a product and then I get to the product-detail-page but it shows up in template A.  Where can I select the template for the product-detail-page?  Thank You very much, Frédéric Espitalier  Update just to give it a hot fix I changed the 'default-joomla-Template' from A to B, so I see, that the product-detail-page always takes the default-template, but that has to be selected somewhere in HikaShop, doesn't?")*

Hi,

No, there is nothing to select the current template in HikaShop.
There is however in the "menu item" settings.
So if you change the menu item when you go from the products listing to the product details page, it probably means that you actually changed the current menu item.
If the products listing is displayed by a HikaShop content module, then it's normal. You can actually select the menu item you want to use when you click on a link of the module with the "menu" setting under the "HikaShop options" tab of the module settings page.
If the products listing is displayed by a HikaShop products or categories listing menu item, you're not supposed to change the menu item when you click on a link displayed by the menu item. However, it's still possible if you have activated the "force canonical URL on listings" setting in the HikaShop configuration as the listing will display the canonical URL of the product instead of generating it with the current menu item. So in that case, you have several solutions... turn off that setting, change the canonical URL of the products, or make sure that the menu item corresponding to the canonical URL also use the template you want.

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

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

Less More

- Posts: 7
- Thank you received: 0
-

5 years 9 months ago [\#329177](#329177) by [espitalier](/forum/user/56723-espitalier "View espitalier's Profile")  Replied by *[espitalier](/forum/user/56723-espitalier "View espitalier's Profile")* on topic *[specify "joomla-template" for product-detail when clicking in product list](/forum/25-install-update/901838-specify-joomla-template-for-product-detail-when-clicking-in-product-list#329177 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Safari 14.0.3  Hi,  When I use the word 'template' I always mean &quot;Joomla-Template&quot;  I have a template A (without margins) and a template B (with margins). A is the default template for all pages. I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products') In the menuitem I selected template B. It works, if I call my shop it shows in template B.  Now I select a product and then I get to the product-detail-page but it shows up in template A.  Where can I select the template for the product-detail-page?  Thank You very much, Frédéric Espitalier  Update just to give it a hot fix I changed the 'default-joomla-Template' from A to B, so I see, that the product-detail-page always takes the default-template, but that has to be selected somewhere in HikaShop, doesn't?")*

Hi Nicolas,
thank You for your answer.
I was wondering, why the joomla template changes when clicking on a product to get to the product view.

One more thing to something where I did not find an explanation for.
What is the 'menu'-selection in 'data display' of the "mod_hikashop"?
[ ![Modulesmod&#95;hikashop-recolorred.online-Administration-2021-02-06-txar6.png](/forum/attachment/51856) ](/forum/attachment/51856 "...2-06-txar6.png")

Probably this has something to do with it?

Thank You very much,
Frédéric Espitalier

- [ ![Modulesmod&#95;hikashop-recolorred.online-Administration-2021-02-06-txar6.png](/forum/attachment/51856) ](/forum/attachment/51856 "...2-06-txar6.png") [ ](/forum/attachment/51856?download=1 "...2-06-txar6.png")

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

5 years 9 months ago [\#329207](#329207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[specify "joomla-template" for product-detail when clicking in product list](/forum/25-install-update/901838-specify-joomla-template-for-product-detail-when-clicking-in-product-list#329207 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Safari 14.0.3  Hi,  When I use the word 'template' I always mean &quot;Joomla-Template&quot;  I have a template A (without margins) and a template B (with margins). A is the default template for all pages. I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products') In the menuitem I selected template B. It works, if I call my shop it shows in template B.  Now I select a product and then I get to the product-detail-page but it shows up in template A.  Where can I select the template for the product-detail-page?  Thank You very much, Frédéric Espitalier  Update just to give it a hot fix I changed the 'default-joomla-Template' from A to B, so I see, that the product-detail-page always takes the default-template, but that has to be selected somewhere in HikaShop, doesn't?")*

Hi,

Well, I actually answered to that question in my previous message:

> You can actually select the menu item you want to use when you click on a link of the module with the "menu" setting under the "HikaShop options" tab of the module settings page.

So this setting allows you to select the menu item to use when you click on a link of that module.
If you leave it to none, it will try to automatically choose a menu item (so that you don't get an error when clicking on a link in the module). If you have different templates assigned to different menu items, it would be better to select a HikaShop products or categories listing menu item configured with the template you want to use for the links of that module.

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

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

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

Less More

- Posts: 7
- Thank you received: 0
-

5 years 9 months ago [\#329249](#329249) by [espitalier](/forum/user/56723-espitalier "View espitalier's Profile")  Replied by *[espitalier](/forum/user/56723-espitalier "View espitalier's Profile")* on topic *[specify "joomla-template" for product-detail when clicking in product list](/forum/25-install-update/901838-specify-joomla-template-for-product-detail-when-clicking-in-product-list#329249 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.3.27 -- Browser(s) name and version -- : Safari 14.0.3  Hi,  When I use the word 'template' I always mean &quot;Joomla-Template&quot;  I have a template A (without margins) and a template B (with margins). A is the default template for all pages. I have a menuitem to call my hikashop (a page with text and the joomla module for 'all products') In the menuitem I selected template B. It works, if I call my shop it shows in template B.  Now I select a product and then I get to the product-detail-page but it shows up in template A.  Where can I select the template for the product-detail-page?  Thank You very much, Frédéric Espitalier  Update just to give it a hot fix I changed the 'default-joomla-Template' from A to B, so I see, that the product-detail-page always takes the default-template, but that has to be selected somewhere in HikaShop, doesn't?")*

Hi,
now I got it,

Thank You very much for Your quick help,

Frédéric Espitalier

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

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