Remove the word Yes from product select button

  • Posts: 63
  • Thank you received: 3
  • Hikashop Essential
2 weeks 1 day ago #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_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 or Create an account to join the conversation.

  • Posts: 2707
  • Thank you received: 351
  • MODERATOR
2 weeks 5 hours ago #323874

Hello,

We don't really understand why the option id is display, here...
Did you use an HikaShop Override ?
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: 2 weeks 23 hours ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 3
  • Hikashop Essential
1 week 6 days ago #323898

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: 1 week 6 days ago by ians.

Please Log in or Create an account to join the conversation.

  • Posts: 70518
  • Thank you received: 10587
  • MODERATOR
1 week 5 days ago #323915

Hi,

You should do a translation override like that:

HIKASHOP_YES="<span clas='myclass'>Yes</span>"
That way, you can just hide it on your product page with CSS:
.hikashop_product_page .myclass{ display:none; }

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum