PDA

View Full Version : inventory in soho shopping cart



cabbott
04-20-2007, 04:18 AM
When I add a product to shopping cart and there is only one and I put in the inventory count only one and someone buys it it still shows up in my web site so someone else can buy it again. How do I stop this from happing? I hope you can understand what I am saying?

Karen Mac
04-20-2007, 04:20 AM
Well my question is.. how do you know this is happening without processing the order? How are you testing that theory?

Karen

cabbott
04-20-2007, 04:29 AM
I went into my site and purshased the item myself.

Karen Mac
04-20-2007, 04:36 AM
ok.. how are you purchasing? how is it completing the order? Whats the order status? Does it change when you COMPLETE the order?

Karen

Vegas Ray
04-21-2007, 01:38 AM
Edit the item.
Go to the advanced tab.
Under "When customers add this product to their cart, require Form Data from:" make sure "per qty" is selected.

Another thing it could be is if you are paying by check or money it will not decrease.

Hope this helps.
www.vegascasinocollectibles.com

Karen Mac
04-21-2007, 04:57 AM
OR paypal. As it doesnt complete the order because you have to wait for the money to clear.

Karen

cabbott
04-22-2007, 04:30 AM
Thank you all for your help. Yes I am having them pay with check or money order and I am using paypall. Is there anything thing I can do so that only one customer can buy the product. Help

Vegas Ray
04-22-2007, 01:31 PM
Below is what I was told on the Soholaunch forum site when I asked about the issue. My solution was to stop accepting checks and money orders.

"I understand this is deliberate when using the check money order option. I had my hosting company modify the code so as the inventory amount decrease using this option.

Details are on the bugz site... ID 0000541"


www.vegascasinocollectibles.com

cabbott
04-23-2007, 04:14 AM
Thank you Vegus Ray for your help, so what you are telling me is I can not use checks or money orders on my site, my hosting site is voda host. I wish they would tell you these things before you go to all the effort of setting up your site and then find this out.

Karen Mac
04-23-2007, 04:17 AM
No you can use them.. just as soon as you get the order go change the amount available or change the code or have it done.

Karen

cabbott
04-23-2007, 04:31 AM
Thank you Karen, but how will this stop 2 people from buying the same item if I do not catch the order right away and what do you mean by or have it done? Sorry but I am such a dunce to this first web site no experience in this.

Vegas Ray
04-24-2007, 01:30 AM
This is what the solution reports on the bugz site:

"Add the following code to pgm-payment_gateway.php in the check/money order loop to decrease inventory on purchase.(around line 1740)

# Count down the inventory for all products ordered
include("pgm-inventory.php");

As for adding the inventory back you would need to modify view_invoice.php in the $cancel_order != "" loop to increment the inventory back."

I don't know if it works or not. I never tried it. Also this was posted on their site back in July 2006 so the line # in step 1 could be very different now. Bugz is a good site to find fixes and to report issue. I would recommend the site if you want to look at bug reports and fixes.

Ray

cabbott
04-24-2007, 02:21 AM
Thank you again for all your help Vegus Ray but I am a dunce when it comes to what you are telling me what to do here. I know how to do a few things but not how to do this.