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

#   Prevent loss of show\_default view on upgrade

##

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

Less More

- Posts: 22
- Thank you received: 1
-
-

8 years 9 months ago [\#286092](#286092) by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")  *[Prevent loss of show\_default view on upgrade](/forum/26-product-category-display/893494-prevent-loss-of-show-default-view-on-upgrade#286092 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0.27  Hi,  We have just started on a project to build a new website for a local business.  To get the right display on the product page, we have altered the show&#95;default template.  My question is how can we avoid this being overwritten if there is an update to Hikashop. We would prefer to make a copy of the show&#95;default template (for example,show&#95;default&#95;2). However, when we tried to do this, we cannot choose it from the drop-down list in the configuration.  I am sure someone will have asked this question before, but I cannot find it in the threads. If you could point me to the answer, that would be great.  Many thanks for your help.  Richard")* was created by *[richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0.27

Hi,

We have just started on a project to build a new website for a local business.

To get the right display on the product page, we have altered the show_default template.

My question is how can we avoid this being overwritten if there is an update to Hikashop. We would prefer to make a copy of the show_default template (for example,show_default_2). However, when we tried to do this, we cannot choose it from the drop-down list in the configuration.

I am sure someone will have asked this question before, but I cannot find it in the threads. If you could point me to the answer, that would be great.

Many thanks for your help.

Richard

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 9 months ago -  8 years 9 months ago [\#286095](#286095) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Prevent loss of show\_default view on upgrade](/forum/26-product-category-display/893494-prevent-loss-of-show-default-view-on-upgrade#286095 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0.27  Hi,  We have just started on a project to build a new website for a local business.  To get the right display on the product page, we have altered the show&#95;default template.  My question is how can we avoid this being overwritten if there is an update to Hikashop. We would prefer to make a copy of the show&#95;default template (for example,show&#95;default&#95;2). However, when we tried to do this, we cannot choose it from the drop-down list in the configuration.  I am sure someone will have asked this question before, but I cannot find it in the threads. If you could point me to the answer, that would be great.  Many thanks for your help.  Richard")*

Hello Richard,

Adding your customization via "Hikashop-&gt;Display-&gt;Views" will do the job, for more information :
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Best regards,
Mohamed Thelji.

Last edit: 8 years 9 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 22
- Thank you received: 1
-
-

8 years 9 months ago [\#286135](#286135) by [richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")  Replied by *[richarddhill](/forum/user/34546-richarddhill "View richarddhill's Profile")* on topic *[Prevent loss of show\_default view on upgrade](/forum/26-product-category-display/893494-prevent-loss-of-show-default-view-on-upgrade#286135 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0.27  Hi,  We have just started on a project to build a new website for a local business.  To get the right display on the product page, we have altered the show&#95;default template.  My question is how can we avoid this being overwritten if there is an update to Hikashop. We would prefer to make a copy of the show&#95;default template (for example,show&#95;default&#95;2). However, when we tried to do this, we cannot choose it from the drop-down list in the configuration.  I am sure someone will have asked this question before, but I cannot find it in the threads. If you could point me to the answer, that would be great.  Many thanks for your help.  Richard")*

Hi Mohamed,

Thank you for your reply.

We already know how to edit the template/view. My question was asking:
]

1. Will any change we make to the "show\_default" PHP file be overwritten when Hikashop is updated?
2. Is it possible to create a copy template based on the default to prevent overwriting?
3. How would you select the copy template (the drop down allows you to choose defaul/table/reverse at the moment)?

I hope this makes it clear.

Best wishes

Richard

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

Less More

- Posts: 86363
- Thank you received: 14297
-
-

8 years 9 months ago [\#286142](#286142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Prevent loss of show\_default view on upgrade](/forum/26-product-category-display/893494-prevent-loss-of-show-default-view-on-upgrade#286142 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0.27  Hi,  We have just started on a project to build a new website for a local business.  To get the right display on the product page, we have altered the show&#95;default template.  My question is how can we avoid this being overwritten if there is an update to Hikashop. We would prefer to make a copy of the show&#95;default template (for example,show&#95;default&#95;2). However, when we tried to do this, we cannot choose it from the drop-down list in the configuration.  I am sure someone will have asked this question before, but I cannot find it in the threads. If you could point me to the answer, that would be great.  Many thanks for your help.  Richard")*

Hi,

1. Not if you do it via the interface we provide in the Display&gt;Views menu.
2. The overrides are stored in templates/YOUR_TEMPLATE/html/com_hikashop/ So if you want to back them up, to can just copy the folders/files in there via FTP.
3. If you want to add new layouts for the product page, you can edit the show_default one, change the "default" text in the input at the top ( for example to "custom" ) and save. That will add a show_custom view file in your template and then in the "layout on product page" setting of HikaShop you will be able to select your "custom" product page layout on top of the ones already available by default.

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

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