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

#   Remove the word Yes from product select button

##

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

Less More

- Posts: 63
- Thank you received: 3
-
-

6 years 2 months ago [\#323865](#323865) by [ians](/forum/user/7862-ians "View ians's Profile")  *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#323865 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")* was created by *[ians](/forum/user/7862-ians "View ians's Profile")*

-- url of the page with the problem -- : [ charter1227catering.co.uk/takeaway/produ...urger-and-chips.html](https://charter1227catering.co.uk/takeaway/product/1-burger-and-chips.html)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.2
-- Browser(s) name and version -- : chrome 85.0.4183.83
-- Error-message(debug-mod must be tuned on) -- : N/A

Hi there,

I can see that I can remove the work Yes using the language override in Joomla HIKASHOP_YES

I have changed Yes to a blank which removed the word, but now the product ID is showing.

Is there a way I can just have the tickbox with nothing after it?

Many thanks,

Ian

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 2 months ago -  6 years 2 months ago [\#323874](#323874) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#323874 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")*

Hello,

We don't really understand why the option id is display, here...
Did you use an **[ HikaShop Override](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)** ?
If you don't know, just process a test with a **default template** like ProtoStar, and tell us if that solve your "Id Display" issue.
Awaiting new elements from you to progress on your subject.

Regards

Last edit: 6 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 63
- Thank you received: 3
-
-

6 years 2 months ago -  6 years 2 months ago [\#323898](#323898) by [ians](/forum/user/7862-ians "View ians's Profile")  Replied by *[ians](/forum/user/7862-ians "View ians's Profile")* on topic *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#323898 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")*

Thank You Philippe,

I used the Joomla Override and have also found the HikaShop Override in views/product/front end/option for my template and attempted to comment out the line line below - but it comes up with an error 403 Access to this resource on the server is denied when I try to save.

$text = JText::_('HIKASHOP_YES');

I don't think that will do any good though because is I override the word yes with a blank, it reveals the product number as per the original problem.

Interesting - if i change override from yes to a star * - the star will show which is a possible workaround. Shame it doesn't work if i just put a space in.

Many thanks,

Ian

Last edit: 6 years 2 months ago by [ians](/forum/user/7862-ians "View ians's Profile").

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

6 years 2 months ago [\#323915](#323915) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#323915 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")*

Hi,

You should do a translation override like that: Code:

HIKASHOP_YES="&lt;span clas='myclass'&gt;Yes&lt;/span&gt;"

That way, you can just hide it on your product page with CSS:
.hikashop_product_page .myclass{ display:none; }

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

5 years 11 months ago [\#326997](#326997) by [guyb](/forum/user/60326-guyb "View guyb's Profile")  Replied by *[guyb](/forum/user/60326-guyb "View guyb's Profile")* on topic *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#326997 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")*

Hi,
It doesn't seem to work in my environment.
What is the syntax to activate your solution to display nothing after making the translation override?

Currently at line 55 in product / option.php
$text = JText::_('HIKASHOP_YES');

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

5 years 11 months ago [\#327030](#327030) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Remove the word Yes from product select button](/forum/4-how-to/900780-remove-the-word-yes-from-product-select-button#327030 "-- url of the page with the problem -- :   charter1227catering.co.uk/takeaway/produ...urger-and-chips.html  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2 -- Browser(s) name and version -- : chrome 85.0.4183.83 -- Error-message(debug-mod must be tuned on) -- : N/A  Hi there,  I can see that I can remove the work Yes using the language override in Joomla HIKASHOP&#95;YES  I have changed Yes to a blank which removed the word, but now the product ID is showing.  Is there a way I can just have the tickbox with nothing after it?  Many thanks,  Ian")*

Hi,

My solution doesn't require modifying the product / option.php view file.
As I said, you need to do a translation override, which can be done under the Languages tab of the Hikashop configuration:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
And for the CSS code I gave, you can also add it in the HikaShop configuration:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

Regarding the error @ians had when saving the view override file, it's because of a security mechanism on his server which detects the PHP code sent by the browser when saving the overrides and blocks it.

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

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