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

#   How do assign templates to views?

##

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#56894](#56894) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  *[How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#56894 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")* was created by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")*

I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing which is fine. But I can't find how to assign the alternate template to the rest of the shop.

I would like a user to click on a product in the product listing so that when they view the Product item it is in the Hikashop template version.

I hope that makes sense

Crispin Jones

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2ODk0LWhvdy1kby1hc3NpZ24tdGVtcGxhdGVzLXRvLXZpZXdzP2xhbmc9ZW4mdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 3 months ago [\#56924](#56924) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#56924 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

You will have to change the Itemid parameter in the links to the product page in you product view files via the menu Display-&gt;Views.
If you're using the default settings, it will be the file "listing_img_title" where you will have to change:
$link = hikashop_completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway);

to:
$link = hikashop_completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.'&amp;Itemid=XXX'.$this-&gt;category_pathway);

where XXX is the id of a menu item (a product listing menu item for example) for which your hikashop template is assigned.

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

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#56984](#56984) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#56984 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

Hi

Thank you for your response. I'm still a little confused as looking through the views many of the templates seem to be linked to a selection of the available templates. I've included a screen grab. Even, apparently, frontend, views are linked to administrator templates. The attached is filtered for frontend.

[ ![Screenshot2012-07-10at10.52.59.png](/forum/attachment/4677) ](/forum/attachment/4677 "...at10.52.59.png")

As I'm going to have to show my client how to manage this and I don't really expect them to customise the code, is their a simple way they could manage this aspect of the site. I have set up specific menu items where relevant so that templates can be assigned. To make your suggestion work I gather I would need to create a menu item for each product. But your suggestion would appear create a fixed path ...$this-&gt;xxx.$this... where I would be using a specific menu id rather than using the reference ...$this-&gt;itemid.$this...

Have I got this completely wrong?

Thanks

Crispin

- [ ![Screenshot2012-07-10at10.52.59.png](/forum/attachment/4677) ](/forum/attachment/4677 "...at10.52.59.png") [ ](/forum/attachment/4677?download=1 "...at10.52.59.png")

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#56988](#56988) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#56988 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

I have made the change you suggested with little useful effect so it maybe I misunderstood your suggestion.

I have confirmed that the modified view is the active template.

Whatever Joomla template I set to the menu item appears to be the one that applies through out the shopping process.

This is not an issue unique to your product I know.

Crispin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2ODk0LWhvdy1kby1hc3NpZ24tdGVtcGxhdGVzLXRvLXZpZXdzP2xhbmc9ZW4mdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 3 months ago [\#57039](#57039) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57039 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

Well, for the checkout page, there is the option "force a menu on checkout" in the configuration in order to do that automatically.

But for the product pages, that modification will be required.

As I said, XXX needs to be the id of a products listing menu item. You don't have to have one menu per product or whatever. Just create one with the default options and use its id.

Please make sure that the modification saved. If you don't see the modification, it could also be that you're not using the "image and title" item box layout for your listing. In that case, you should edit the view file you're using... There are 10 possibilities... I wouldn't be able to tell you which one without looking at your shop.

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

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#57088](#57088) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57088 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

Am I really being that thick?

I have made the changed you suggest.

[ ![Screenshot2012-07-11at10.30.11.png](/forum/attachment/4704) ](/forum/attachment/4704 "...at10.30.11.png")

Using a menu item I have created in the Hikashop admin

[ ![Screenshot2012-07-11at10.30.48.png](/forum/attachment/4705) ](/forum/attachment/4705 "...at10.30.48.png")

The template used for the listing page is assigned. The template intended for the Item page is default
The listing page [url=http://http://cavespidertemp1.co.uk/index.php?option=com_hikashop&amp;view=product&amp;layout=listing&amp;Itemid=170][ cavespidertemp1.co.uk/index.php?option=c...t=listing&amp;Itemid=170](http://cavespidertemp1.co.uk/index.php?option=com_hikashop&view=product&layout=listing&Itemid=170)[/url]

I have placed a marker in the code so that I could be sure the relevant HS template view was applied. &lt;!-- CVS PRODUCT IMG-amended listing-image-title --&gt;

Plainly I have missed something obvious

Thanks for your help

Crispin

- [ ![Screenshot2012-07-11at10.30.11.png](/forum/attachment/4704) ](/forum/attachment/4704 "...at10.30.11.png") [ ](/forum/attachment/4704?download=1 "...at10.30.11.png")
- [ ![Screenshot2012-07-11at10.30.48.png](/forum/attachment/4705) ](/forum/attachment/4705 "...at10.30.48.png") [ ](/forum/attachment/4705?download=1 "...at10.30.48.png")

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#57089](#57089) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57089 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

I do note that the 'Choose options' link is still showing 'itemid=170'. I don't know where this is coming from now. I have actually replaced the code on all the template views files in the views - product

Cheers

Crispin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2ODk0LWhvdy1kby1hc3NpZ24tdGVtcGxhdGVzLXRvLXZpZXdzP2xhbmc9ZW4mdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 3 months ago [\#57166](#57166) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57166 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

Hi,

The problem is that you have deactivated the "link to product pages" option of your listing so the image/name is not clickable. So the $link variable is not used.
And only the add to cart button is displayed. And since your products have variants, instead of the add to cart button, you have the choose options button displayed which has his own link.

So you need to go edit the file "quantity" of the view "product" via the menu Display-&gt;Views and change the line:
echo $this-&gt;cart-&gt;displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this-&gt;params,hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.$this-&gt;itemid),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.$this-&gt;itemid)).'\';return false;','');

to:

echo $this-&gt;cart-&gt;displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this-&gt;params,hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.'&amp;Itemid=XXX'),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.$this-&gt;itemid)).'\';return false;','');

Then it will work for the choose options button too.

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

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#57371](#57371) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57371 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

Almost there I thinks, but not quite

For test purposes I activated the Link to product pages which works and links using the correct templates. The choose options button though it shows itemid=195 does work work as we want.

The home page here

[ ](http://cavespidertemp1.co.uk/index.php?option=com_hikashop&view=product&layout=listing&Itemid=170)[ cavespidertemp1.co.uk/index.php?option=c...t=listing&amp;Itemid=170](http://cavespidertemp1.co.uk/index.php?option=com_hikashop&view=product&layout=listing&Itemid=170)

The product link generates this url which now works as we'd like.

[ cavespidertemp1.co.uk/index.php?option=c...ng-blooms&amp;Itemid=195](http://cavespidertemp1.co.uk/index.php?option=com_hikashop&ctrl=product&task=show&cid=31&name=alluring-blooms&Itemid=195)

The 'Choose options' button generates this URL which doesn't work as we'd like.

[ cavespidertemp1.co.uk/index.php?option=c...uct\_id=31&amp;Itemid=195](http://cavespidertemp1.co.uk/index.php?option=com_hikashop&ctrl=product&task=show&product_id=31&Itemid=195)

And by the way, thank you very very much for all your help on this.

Crispin

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

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

Less More

- Posts: 60
- Thank you received: 1
-
-

14 years 3 months ago [\#57372](#57372) by [nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")  Replied by *[nikmackey](/forum/user/7626-nikmackey "View nikmackey's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57372 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

I have just changed your suggested change to quantity.php

echo $this-&gt;cart-&gt;displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this-&gt;params,hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.'&amp;Itemid=XXX'),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.$this-&gt;itemid)).'\';return false;','');

$this-&gt;cart-&gt;displayButton(JText::_('CHOOSE_OPTIONS'),'choose_options',$this-&gt;params,hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.'&amp;Itemid=195'),'window.location = \''.str_replace("'","\'",hikashop_completeLink('product&amp;task=show&amp;product_id='.$this-&gt;row-&gt;product_id.'&amp;Itemid=195')).'\';return false;','');

Replacing the second reference to itemid. I do hope this won't effect anything else.

Thanks again for your help.

Crispin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2ODk0LWhvdy1kby1hc3NpZ24tdGVtcGxhdGVzLXRvLXZpZXdzP2xhbmc9ZW4mdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 3 months ago [\#57420](#57420) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#57420 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

No, that code is only for that button, so you won't have any problem with the change.

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

- **[flashx](/forum/user/8818-flashx "View flashx's Profile")**
- [![flashx's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-21.jpg)](/forum/user/8818-flashx "View flashx's Profile")
- [ Offline](/forum/user/8818-flashx)

Less More

- Posts: 20
- Thank you received: 4
-
-

14 years 2 months ago [\#62204](#62204) by [flashx](/forum/user/8818-flashx "View flashx's Profile")  Replied by *[flashx](/forum/user/8818-flashx "View flashx's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#62204 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

oh man this is WAAAYY confusing! how is there just not a button to assign to a template!!? ![:O](/surprise.gif ":O") Did you end up getting this working? if so, can you step me through it?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU2ODk0LWhvdy1kby1hc3NpZ24tdGVtcGxhdGVzLXRvLXZpZXdzP2xhbmc9ZW4mdG1wbD1tYXJrZG93bg==) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

14 years 2 months ago [\#62213](#62213) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#62213 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

It's not complex. There is one line of code to change in one view file as I explain in my first message:
[ www.hikashop.com/forum/2-general-talk-ab...s.html?lang=en#56924](http://www.hikashop.com/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views.html?lang=en#56924)

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

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

- **[flashx](/forum/user/8818-flashx "View flashx's Profile")**
- [![flashx's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-21.jpg)](/forum/user/8818-flashx "View flashx's Profile")
- [ Offline](/forum/user/8818-flashx)

Less More

- Posts: 20
- Thank you received: 4
-
-

14 years 2 months ago [\#62331](#62331) by [flashx](/forum/user/8818-flashx "View flashx's Profile")  Replied by *[flashx](/forum/user/8818-flashx "View flashx's Profile")* on topic *[Re: How do assign templates to views?](/forum/2-general-talk-about-hikashop/56894-how-do-assign-templates-to-views#62331 "I have created two versions of our Joomla template. One intended for Product listings and other website content and another for the rest of Hikashop. I have set up a menu item for the product listing...")*

OMG I finally get it! taken me days but I now understand! Thanks nicolas! here i was putting the name of the menu item in thinking that was the id! fark!!!! im such a sausage!

thanks again!

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

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

[](#top)
