Category: Product & Category Display
this is the link
Part of the message is hidden for the guests. Please log in or register to see it.
this is the code
<?php global $Itemid;
if($Itemid==1697){ ?>
<a href="index.php?option=com_hikashop&view=product&layout=listing">grid</a>
<?php else{ ?>
<a href="index.php?option=com_hikashop&view=product&layout=listing">list</a>
<?php } ?>
both layouts are "image and description" so i guess it would be better to use the SEO links.
i edited the file listing_img_desc i added the link right after this code
if(!empty($this->row->extraData->top)) { echo implode("\r\n",$this->row->extraData->top); }
?>
well the page is no longer blank. But i dont see the anchor links.
debug is on and error reporting is set to max . this is the error but i dont think it is related.
Notice: Undefined property: stdClass::$hikashop_product_custom_fob_price_line in /home/..../public_html/templates/.../html/com_hikashop/product/listing_img_desc.php on line 168
thanks