Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

losing cart contents from link


Recommended Posts

Hi All,


i have a info box in which i've placed 3 images (to use as banners to flag up exciting content on the site).


The link i'm using is for example:



<td><?php echo '<a href="' . tep_href_link('index.php?manufacturers_id=1718', '', 'NONSSL','true' ) . '">' . tep_image(DIR_WS_IMAGES . 'image.gif', 'image') . '</a>'; ?>





This takes me to the correct manufacturers page, but if someone has contents in their basket then its lost.


Please help!

Link to comment
Share on other sites

At the end of the url you need to add session id i can remember seeing in a contrbuiton how it was done but cant remember which one or how might be $OSC_custid or $OSC_session

so url in browser will look like this /index.php?manufacturers_id=1718&session_id=4f26c95b4c6eb61b59c53c64459cdfbb


or you can turn on force cookies but might give you problems as i had to turn mine off

Link to comment
Share on other sites

Try this instead

<td><?php echo '<a href="' . tep_href_link('index.php','?manufacturers_id=1718', 'NONSSL','true' ) . '">' . tep_image(DIR_WS_IMAGES . 'image.gif', 'image') . '</a>'; ?>



Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites


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

  • Create New...