Product Code displayed in the Frontpage...

  • Posts: 2
  • Thank you received: 0
12 years 11 months ago #39780

Hello all,
how can I force the Product Code NOT to be displayed in the frontpage?
At the moment every product is shown with its name AND its associated product code, but I need only the name.
Is there an option somewhere??

Many thanks

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

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 11 months ago #39924

Hi,

Normally the product code is hidden on the product page.
If you see it, it means that your template has same bogus span processing. Normally, you should find an option of your template to deactivate span processing and that will solve the problem.

Alternatively, you can edit the file show_default (or show before version 1.5.6) of the view product via the menu Display->Views and remove the line:
echo $this->element->product_code;

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

  • Posts: 2
  • Thank you received: 0
12 years 11 months ago #40268

That did the trick; you were absolutely right about the span proccessing!
Many thanks!! :cheer:

One last thing...
How can I display only the related products in the product page? At the moment I'm using the "HikaShop Content Module", but that just displays every product...

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

  • Posts: 83103
  • Thank you received: 13415
  • MODERATOR
12 years 10 months ago #40468

For related products you should follow the instructions here:
www.hikashop.com/en/support/documentatio...ct-form.html#related

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

Time to create page: 0.050 seconds
Powered by Kunena Forum