Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

guest and customer cart not merging


tayl1684

Recommended Posts

Hi all,

 

I cant get the two carts to merge on login or checkout since I copied my site from a test server to a live one.

The only time it does merge is if I use the checkout button in the shopping cart, none of the other buttons work. I have a feeling that this may be to do with the fact that the rest are just normal HTML buttons (in an sts template) but since it worked before I'm not sure.

 

The store is on shared ssl.

 

Here is my configure.php

 

define('HTTP_SERVER', 'http://meccanoman.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://secure.svr10-speedyservers.com/~meccnco'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://meccanoman.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'http://meccanoman.co.uk');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

Would anyone mind checking through this for me to see if i've made a cockup!

 

Many thanks for any help

 

Ian

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', 'www.meccanoman.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'secure.svr10-speedyservers.com/~meccnco');

 

The cookie_domain is a domain and not a url - so no http:// or https://

 

Vger

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', 'www.meccanoman.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'secure.svr10-speedyservers.com/~meccnco');

 

The cookie_domain is a domain and not a url - so no http:// or https://

 

Vger

 

 

Thanks for your reply Vger

 

I have changed that still not working though, so if the configure.php is correct I assume its my HTML buttons that are the problem (since the oscommerce ones work) with that in mind can I incorperate the php code in to my html template?

 

eg

 

'<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">'

 

Also its maybe worth noting that this line only comes up when I use the oscommerce button to checkout:

 

Note: Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. [More Info]

 

Cheers

 

Ian

Link to comment
Share on other sites

Thanks for your reply Vger

 

I have changed that still not working though, so if the configure.php is correct I assume its my HTML buttons that are the problem (since the oscommerce ones work) with that in mind can I incorperate the php code in to my html template?

 

eg

 

'<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">'

 

Also its maybe worth noting that this line only comes up when I use the oscommerce button to checkout:

 

Note: Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. [More Info]

 

Cheers

 

Ian

 

I've seen this problem before, and you're correct. There needs to be an echo for the tep_href_link. Be sure there's one for the statement above.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...