Do not show product code in shopping cart

  • Posts: 72
  • Thank you received: 5
  • Hikashop Business
4 years 2 months ago #315112

The product code is shown in the shopping cart. How can I turn it off?
To be clear: the product code should stay visible on the product pages.

Last edit: 4 years 2 months ago by mlehr.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
4 years 2 months ago #315121

Hi,

The setting is common to all the pages. So I would recommend to turn it off in the HikaShop configuration and edit the file "show_default.php" used on the product page via the menu Display>Views to modify the line:
<?php if ($this->config->get('show_code')) { ?>
to:
<?php if (true) { ?>
so that it will display the product code on the product page regardless of that setting.

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

  • Posts: 72
  • Thank you received: 5
  • Hikashop Business
4 years 2 months ago #315174

It did what you said (see printscreen), but it does not work yet.

Please help.

Attachments:

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
4 years 2 months ago #315185

Hi,

What do you mean by "it does not work yet" ?
Because when I check the product pages on your website I do see the product code displayed. And if you followed mye instructions from my previous message, you should have turned off the setting to display the product code and thus it would mean that this modification is working.

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

  • Posts: 72
  • Thank you received: 5
  • Hikashop Business
4 years 2 months ago #315194

All clear, thanks.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum