Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem adding items to cart


Graveyard666

Recommended Posts

Posted

On my site we use 4 different product_status identifiers. 0 = sold out, 1 = in stock, 2 = preorder, 3 = back order

 

But for some reason on the site, it will not allow anyone to add anything to the cart when the product_status = 2 or 3

 

I'm not sure even where to look to try to find out how to fix it, any help would be greatly appreciated

 

 

 

jeff

Posted

if you're refering to the products_status column of the products sql table, a lot of queries check it for a value of '1'. You will have to change multiple files (sql queries) such that products are visible unless the products_status is set to 0.

Posted

Mark,

 

the correct status is showing up everywhere on my site. That's not the problem. The problem is that on my product_info.php or my product_listing.php page when the user clicks on "buy now" or "add to cart" the item DOES NOT get added to the cart.

If its checking for a value of "1" I also need it to check for a value of "2" and "3", what files do I need to alter to make this work?

Posted

I see, are your talking about the site you have on your profile? Because there it looks like the sessions are incorrect, probably due to the safe urls code you have. If there is a switch to disable them you could test it.

Posted

yes, that is the site.. www.graveyardrecords.com

 

I am using Chemo's Ultimate SEO contrib

 

people seem to be ordering things online just fine though, just not "preorder" items

Archived

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

×
×
  • Create New...