Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a html link so it doesn't log me out?


ashlyn

Recommended Posts

Posted

The store has some texts with "featured products" and I've put in a plain html link to display the image and link to the product. It logs me out and clears my shopping cart when I click that link.

 

Can anyone help me with the code to correctly place a link to a product from a text page? It's still within the cart but I wanted to have specific items showing instead of the "new products for...."

 

Many thanks..

-------------------------------------------------------

 

I used to be insane, but now I'm just nuts ;)

Posted

This is a cookies issue. I'm losing my cookie each time I go from page to page (pages not made within the OC script) and back to the cart. Cart is cleared each time (when logged in AND not logged into my account)

 

Any advice much appreciated..

-------------------------------------------------------

 

I used to be insane, but now I'm just nuts ;)

Posted

Ashlyn..

 

I don't think it is a cookie issue, but rather a session id issue so use the tep_href_link on your links to navigate from one page to another page.. this will save the session id, so save the reference to the cart

 

hope it helps, if not feel free to pm

 

Greg

Archived

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

×
×
  • Create New...