amyjanota Posted December 22, 2004 Posted December 22, 2004 This is driving me nuts. I'm trying to create some hard-coded links to a couple of my products on my homepage. I used the tep_href_link wrapper, and the link works fine to load the product page with the session id intact, but any cart contents get dumped when the product page loads. Here's how I'm creating the link: <h1>T-Shirts</h1><p>Five unique styles! For a limited time, only $15.00.</p><p><?php echo '<a href="' . tep_href_link('product_info.php?cPath=28&products_id=29', '', 'NONSSL') . '">' . 'more info' . '</a>'; ?> Any idea why the cart contents would get dumped if the session id appears to remain intact? Is there a better way to hardcode a link to a specific product? Any help would be greatly appreciated. I'm getting desparate! Amy
Jan Zonjee Posted December 22, 2004 Posted December 22, 2004 IMHO it should be: tep_href_link('product_info.php', 'cPath=28&products_id=29', 'NONSSL')
Recommended Posts
Archived
This topic is now archived and is closed to further replies.