Hide product code

  • Posts: 4
  • Thank you received: 0
13 years 9 months ago #5868

I'd like to hide the product code and only display the product name in my store. Right now, when I create a product, it displays the product name, followed by the code. Is there any way to change this?

Thanks!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #5870

You can edit the file show (show_default since 1.5.6) of the view product via the menu Display>Views and remove the lines:
echo $this->element->product_code;
and:
echo $variant->product_code;

Last edit: 12 years 5 months ago by nicolas.

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

  • Posts: 4
  • Thank you received: 0
13 years 9 months ago #5875

Works like a charm. This is the second time you've helped me, Nicolas. Thank you so much!

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

Time to create page: 0.057 seconds
Powered by Kunena Forum