Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Why basket empty under these condition?


kiraman

Recommended Posts

Posted

Hi

 

I have a problem for below

 

Q1. When I click the "top" button on the Navigation bar, the items in basket empty!

Why the problem occur and how to fix it?

 

Q2. On the index page, the middle main content, I created by myself.

 

For example, I clicked 1 categories from middle main content --> put items in basket --> go back to the middle main content -->

choose another categories, item in basket also empty!

 

Which part of code has problem?

 

Looking forward to all your help

 

Thanks

Posted

If you are creating links, you should be using tep_href function to ensure you are preserving the SID. You can also have a look at this thread.

 

http://www.oscommerce.com/forums/topic/330479-what-is-the-oscsid-why-you-must-not-loose-it/

 

 

Thank you so much for your reply.

 

I want to make sure how to change it correctly, my link is like this:

 

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

<td width="17%" align="center" valign="top"><span class="style6"><a href="http://www.mywebsite.com/index.php?cPath=349_698"><img src="http://www.mywebsite.com/images/FR6000.jpg" alt="FR6000" title=" FR6000 " border="0" height="100" width="100"><br>

FR6000</a>>

<!--</td-->

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

 

How can I change to " tep_href function "?

 

Thanks a lots

Archived

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

×
×
  • Create New...