Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add to cart goes to secure shopping cart


Wendy James

Recommended Posts

Hi =)

 

I was wondering if anyone has come across this as it is new to me.

I am helping someone fix a site that someone else made and for some reason when adding a product to the shopping cart, the shopping cart is under https.

 

Does anyone know what would cause this and what I could do to stop this from happening?

 

I am asking because they are getting pop ups as they shop and don't want it to happen every time someone adds something to the cart then goes back to shop some more.

 

Thanks!

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Hi =)

 

I was wondering if anyone has come across this as it is new to me.

I am helping someone fix a site that someone else made and for some reason when adding a product to the shopping cart, the shopping cart is under https.

 

Does anyone know what would cause this and what I could do to stop this from happening?

 

I am asking because they are getting pop ups as they shop and don't want it to happen every time someone adds something to the cart then goes back to shop some more.

 

Thanks!

 

Can only imagine they've gone in and amended the links to the shopping cart, either hard coded or added new lines to config maybe?

Link to comment
Share on other sites

Even though I had redone all of their main pages, I even double checked the links on the product_info.php. Thinking maybe I did something but all I did was change the layout.

 

Maybe if I post their config someone may see something I am missing?

I am all out of other ideas.

 

  define('HTTP_SERVER', 'http://www.thiersite.com');	
 define('HTTPS_SERVER', 'https://www.theirsite.com');
 define('ENABLE_SSL', true);// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '/');
 define('HTTPS_COOKIE_DOMAIN', '/');
 define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
 define('HTTPS_COOKIE_PATH', '/osCommerce/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/osCommerce/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/');

I even tried putting their domain in for the cookie fields but that didnt change a thing.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Even though I had redone all of their main pages, I even double checked the links on the product_info.php. Thinking maybe I did something but all I did was change the layout.

 

Maybe if I post their config someone may see something I am missing?

I am all out of other ideas.

 

  define('HTTP_SERVER', 'http://www.thiersite.com');	
 define('HTTPS_SERVER', 'https://www.theirsite.com');
 define('ENABLE_SSL', true);// secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '/');
 define('HTTPS_COOKIE_DOMAIN', '/');
 define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
 define('HTTPS_COOKIE_PATH', '/osCommerce/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/osCommerce/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/');

I even tried putting their domain in for the cookie fields but that didnt change a thing.

 

 

that looks normal.

 

Have you had a look to see if it has been hard coded in?

Link to comment
Share on other sites

that looks normal.

 

Have you had a look to see if it has been hard coded in?

 

yep I agree. Make a search through your whole catalog foleder for FILENAME_SHOPPING_CART and see if it's hardcoded with an SSL link. I'd even do another search for shopping_cart.php, you never know.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...