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

#   Adding extra product view layouts (product detail)

##

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 4 days ago [\#176527](#176527) by [simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")  *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176527 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")* was created by *[simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")*

I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.

How do I add new views so that they appear in the list of product page layout options for categories and individual products?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1MDUtYWRkaW5nLWV4dHJhLXByb2R1Y3Qtdmlldy1sYXlvdXRzLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 4 days ago [\#176544](#176544) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176544 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Hi,

When you edit the "show_default" product page view, you can change his name ; it will allow you to create a new "show" view and have a new product page layout (which will be listed in the page layouts in the products/categories configuration).

Regards,

---

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

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 4 days ago [\#176587](#176587) by [simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")  Replied by *[simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176587 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Thanks Jerome.

I'll give it a try this morning.

Presumably, once it's created I can use the standard template override method to edit the code in the IDE I use?

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 4 days ago [\#176593](#176593) by [simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")  Replied by *[simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176593 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

That doesn't seem to work. Well, for me at the moment, anyway ![:)](/media/kunena/emoticons/8.png ":)")

Here's what I did:

1. Went to Components &gt; Hikashop &gt; Display &gt; Views
2. Opened show_default.php
3. Made a small edit
4. Saved it as show_holidays.php
5. Went to the product concerned and looked at the 'Layout on Product Page' options.

Still the same 3 options in the list along with 'Inherited'.

I then tried adding a show_holidays.php to the template overrides in my templates html folder and still nothing.

Any other suggestions? or have I missed something?

Cheers

Keith

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 days ago [\#176595](#176595) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176595 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Hi,

I just tried the same steps on my local to be sure, and it's working like a charm.
Please check the folder permissions for your template folder and its sub folders.

And I confirm that once this work, you can directly edit the files in the template folder via your IDE.

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 3 days ago [\#176715](#176715) by [simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")  Replied by *[simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176715 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

hi Xavier,

Thanks for checking. it's still not working for me.

I see the new view (show_holidays.php) in the database. But it doesn't show up as an option in the 'Layout for Product Page' dropdown for either individual products or categories.

Is there anything specific that has to be in the code to make it show up there?

Thanks

Keith

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1MDUtYWRkaW5nLWV4dHJhLXByb2R1Y3Qtdmlldy1sYXlvdXRzLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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: 86290
- Thank you received: 14268
-
-

12 years 3 days ago [\#176720](#176720) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176720 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Hi,

I checked your website but when I try to access the file
Part of the message is hidden for the guests. Please log in or register to see it.
it seems that the file doesn't exist. So you must have created it for another template that the template you're using on your frontend which would explain why it doesn't work.

There is no code to change in order to make it show up there.

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 3 days ago [\#176781](#176781) by [simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")  Replied by *[simonbornhoft](/forum/user/21260-simonbornhoft "View simonbornhoft's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176781 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Ni Nicolas,

Sorry it's on a development version of the site. If you don't mind taking a quick look I'll PM you the url and admin access credentials.

Many thanks

Keith

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI1MDUtYWRkaW5nLWV4dHJhLXByb2R1Y3Qtdmlldy1sYXlvdXRzLXByb2R1Y3QtZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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: 86290
- Thank you received: 14268
-
-

12 years 2 days ago [\#176824](#176824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Adding extra product view layouts (product detail)](/forum/26-product-category-display/872505-adding-extra-product-view-layouts-product-detail#176824 "I have a clients that needs several different layouts for the product detail pages. I have already customised the layout on the existing options, but need more.  How do I add new views so that they appear in the list of product page layout options for categories and individual products?")*

Hi,

Please use our contact form then and provide a link to the backend, a link to this thread, and a user account to access it and we can check your settings:
[ www.hikashop.com/support/contact-us.html](http://www.hikashop.com/support/contact-us.html)

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

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

[](#top)
