Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't add to cart


Starfyre72

Recommended Posts

Posted

I just today installed osCommerce. And have been setting things up. I decided to try and see if I could checkout with a product I just put in. So I click on add to cart and it goes to the shopping cart but does not add the product. I could use some help getting this to work.

 

It's at http://allthatglitter.org/shop

 

Thanks

Posted

In your includes/configure.php file the http cookie domain needs to be set either to www.yourdomain.com or just yourdomain.com (either way it contains no http://).

 

Vger

Posted

Ok I have taken a look at the config.php in the includes directory. And as you can see it's set the way your saying with no http:// and it's still not allowing me to add anything to the cart.

 

define('HTTP_COOKIE_DOMAIN', 'allthatglitter.org');

define('HTTPS_COOKIE_DOMAIN', 'allthatglitter.org');

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

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

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

Posted

If you have enable ssl set to 'False' then leave blank all https references e.g.

https_server= ''

https_catalog= ''

https_cookie_domain= ''

dir_ws_https_catalog= ''

 

Vger

Posted

Well again I did what you said as you can see in the quote, at least I assume you meant to leave in the defines just not have them associate with anything. And guess what it still won't add to the cart.

 

<?php

define('HTTP_SERVER', 'http://allthatglitter.org');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', 'false');

define('HTTP_COOKIE_DOMAIN', 'allthatglitter.org');

define('HTTPS_COOKIE_DOMAIN', '');

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

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

define('DIR_WS_HTTPS_CATALOG', '');

Posted

I hate to bump my own topic, I know some forums don't like it when you double post and such. But I really would like to get this working soon.

Posted

I hate it when you can't edit your own posts. I'm begining to think its not the cookies. It's remembering my login (I created one to test the system (add to cart and checkout).

 

I also installed another copy into my https:// thinking it may not for some reason like http:// but I get the same problem of nothing adding to the cart.

 

I really appreciate some help.

Posted

*sighs* I come back and see that the thread just gets burried. I wish someone knew what to do about my situation. Cause if I can't get this to work its worthless to me. And if its worthless I might as well uninstall it. So please people if you all can help I would very much appreciate it.

Posted

I'm going to bump this one last time and ask. Is it possible with register_globals being turned off, in the php.ini, that could be the reason why when I try to add something to the cart it doesn't go into the cart.

Archived

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

×
×
  • Create New...