Hope someone can help me?, hope I can explain my problem properly!
I'm trying to create inpage links (name Anchors) on my Product Info page.
I've added the named anchors to my tpl_product_info_display.php page, and I've managed to get the first part of the URL, to return to the correct page.
/index.php?main_page=product_info/(missing this bit) #pagetop
but I can't get the middle bit, the product info path
e.g
&cPath=1_9&products_id=26
Does anyone have any suggestions??
ADDED
After a bit more work I've come up with this
<?php
echo '<a href="' . zen_href_link( "product_info&cPath=$cPath&",'products_id=' . $_GET['products_id']) . '#pagetop" >Page Top</a>';?>
Is this code OK? it works and everything seems OK, I can add products to cart and the links work etc, but I would like a more experieced coder to have a look and make sure its OK!!




