Hi guys,
I'm struggling with a minor Hikashop issue.
Every time i'm echoing the product name, the product name is added
multiple times at the bottom of the page. How do i fix it?
I'm using the standard Hikashop way of echoing the product name, as you see
below. The problem is that it prints the product name, for each variant also. So
i end up with the product name 2-4 four times, depending on the item. I really
don't understand way?
<?php
if (hikashop_getCID('product_id')!=$this->element->product_id && isset ($this->element->main->product_name))
echo $this->element->product_name;
?>
I made a gist of the page mentioned here.
gist.github.com/mikejakobsen/f197cec68979d96ed7abbb013edcba8d
You can see the issue live here.
jupiterdesign.s1.hoeks.dk/udsalg/produkt/3658-acid-29-hjul