Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linking to product pages from homepage


amyjanota

Recommended Posts

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...