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

#   Re: Hide product code !

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 5 months ago [\#49413](#49413) by [amyo](/forum/user/7358-amyo "View amyo's Profile")  *[Re: Hide product code !](/forum/2-general-talk-about-hikashop/49413-re-hide-product-code#49413 "Hello,  I've tried the above suggestion to remove the code from the product name, with no success. My CSS also states .hikashop&#95;product&#95;code&#95;main{ display:none; }  I am assuming that the problem is that I have 'Build Title Spans' enabled in the template, however, I am unable to disable the on/off switch, due to some kind of gantry bug (I think) with 2.5.4.... do you know of a way to manually disable this so I don't have to deal with the headache of now trying to figure out how to fix the gantry problem? Amazing how one tiny edit can take so many hours! :blink:  So far, I love the cart! Just started working with it today, and it seems better than other options I've tried.  Thanks!")* was created by *[amyo](/forum/user/7358-amyo "View amyo's Profile")*

Hello,

I've tried the above suggestion to remove the code from the product name, with no success. My CSS also states .hikashop_product_code_main{ display:none; }

I am assuming that the problem is that I have 'Build Title Spans' enabled in the template, however, I am unable to disable the on/off switch, due to some kind of gantry bug (I think) with 2.5.4.... do you know of a way to manually disable this so I don't have to deal with the headache of now trying to figure out how to fix the gantry problem? Amazing how one tiny edit can take so many hours! :blink:

So far, I love the cart! Just started working with it today, and it seems better than other options I've tried.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ5NDEzLXJlLWhpZGUtcHJvZHVjdC1jb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 5 months ago [\#49452](#49452) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Hide product code !](/forum/2-general-talk-about-hikashop/49413-re-hide-product-code#49452 "Hello,  I've tried the above suggestion to remove the code from the product name, with no success. My CSS also states .hikashop&#95;product&#95;code&#95;main{ display:none; }  I am assuming that the problem is that I have 'Build Title Spans' enabled in the template, however, I am unable to disable the on/off switch, due to some kind of gantry bug (I think) with 2.5.4.... do you know of a way to manually disable this so I don't have to deal with the headache of now trying to figure out how to fix the gantry problem? Amazing how one tiny edit can take so many hours! :blink:  So far, I love the cart! Just started working with it today, and it seems better than other options I've tried.  Thanks!")*

I don't know how gantry handle that.

If you remove the code in the view and you didn't had any changes, it's probably that you didn't edited the view for the correct template. Make sure that you edit it for your front end template and not another one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ5NDEzLXJlLWhpZGUtcHJvZHVjdC1jb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 0
-
-

14 years 5 months ago [\#51623](#51623) by [amyo](/forum/user/7358-amyo "View amyo's Profile")  Replied by *[amyo](/forum/user/7358-amyo "View amyo's Profile")* on topic *[Re: Hide product code !](/forum/2-general-talk-about-hikashop/49413-re-hide-product-code#51623 "Hello,  I've tried the above suggestion to remove the code from the product name, with no success. My CSS also states .hikashop&#95;product&#95;code&#95;main{ display:none; }  I am assuming that the problem is that I have 'Build Title Spans' enabled in the template, however, I am unable to disable the on/off switch, due to some kind of gantry bug (I think) with 2.5.4.... do you know of a way to manually disable this so I don't have to deal with the headache of now trying to figure out how to fix the gantry problem? Amazing how one tiny edit can take so many hours! :blink:  So far, I love the cart! Just started working with it today, and it seems better than other options I've tried.  Thanks!")*

Thank you, it looks like I must have commented out the wrong template...

In case anyone else gets stuck on this, here's the rundown on how to remove the code view completely from your site:

In Hikashop, go to Display&gt;Views.

Search for 'show_default.php' and make sure you click the file on the right column under your active template. Comment out this:

&lt;!--&lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt;
&lt;?php
echo $this-&gt;element-&gt;product_code;
?&gt;
&lt;/span&gt;--&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzQ5NDEzLXJlLWhpZGUtcHJvZHVjdC1jb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.063 seconds

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