Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart content quantity defaulting to 1 problem


KennethS

Recommended Posts

Posted

After not being able to get Mysql sessions to function correctly I switched to file based sessions.

The way I sell stuff quantity does not matter, so I have check stock turned off.

Here is a simple example of the problem:

 

Cart Contents before login:

2x Testing Item (1)

1x Testing Item (2)

 

Cart Contents currently in user's cart (not logged in):

1x Testing Item (1)

1x Testing Item (2)

 

Cart Contents AFTER login and combination of above:

1x Testing Item (1)

1x Testing Item (2)

 

No matter what I did it would take the cart contents back to 1.

 

FIX:

 

When selling downloadable goods where more than 1 may be purchased (licenses), or when you have "check stock" turned off make sure when creating the item to make the quantity very high.

If you put in quantity 1 it will keep defaulting back to 1 at certain places. Im sure there are many other possible fixes to this. I only managed to find 1 post from a person with the same problem, so I hope this helps someone.

 

KennethS

ZDP Media Group, Inc.

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Archived

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

×
×
  • Create New...