Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart keeps dumping items


silkymakeup

Recommended Posts

I am having a problem on my site www.silkymakeup.com , where everytime someone adds an item to the cart, it shows in the cart but then when they add something else, the cart dumps and shows zero items. it is very random but ive gotten a lot of complaints.

when someone adds an item to the cart (for example, if you go to the site and add the bronzer to the cart, then click on the link IN the bronzer that says "handi flat top brush", when u go to that page , see how the cart says zero items. I dont know whats going on, but customers keep telling me this keeps happening, does anyone know where to look to fix this or why this happens?

Link to comment
Share on other sites

This is usually caused by incorrect http and/or https cookie domains settings in the includes/configure.php file.

 

Your http_cookie_domain would be 'www.sillymakeup.com'

 

Your https_cookie_domain would be 'sillymakeup.authsecure.com'

 

Neither have http:// or https:// in them - it's a domain and not a URL.

 

Vger

Link to comment
Share on other sites

Ok let me try that! I am starting to realize that what is happening is that it is actually LOGGING ME OUT, thats why it looks like its dumping the cart, and its only happening when i use the search function. at least here

if you go to www.silkymakeup.com and add items normally without using the search, at least on my computer, it works ok, but when i use the search function, thats when it seems to be logging me out and turning the cart to zero. Let me try what you said and write back. thanks for your help!

Jennifer

Link to comment
Share on other sites

Ok for anyone having the problem where using the search box clears your cart, I found the search box anywhere contribution that i installed AGES AGO and found an update to it, seemed to fix the problem. anyone else having this problem, change your search box to this (i think that hide session id part of the code fixes it):

 

<td align="right" valign="middle"><?php echo tep_draw_form('search',

 

tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') .

 

tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '',

 

'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+10) . 'px"') . ' ' .

 

tep_hide_session_id() .'<input type="submit" name="Submit" value="Search">' . '</form>';

 

?></td>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...