If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / Stop limit of quantity by auto-refreshing the shopping cart every XX seconds?

Stop limit of quantity by auto-refreshing the shopping cart every XX seconds?

Locked

Started by edm718 on 2 Nov 2009, 9:16 PM · Views: 1,550

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Nov 2009, 9:16 PM
#1
edm718 avatar

edm718

New Zenner

Join Date:
Jan 2009
Posts:
12
Plugin Contributions:
0

Post #1 by edm718

I dont know if this is the appropriate place for my question but it seems like it has not been asked yet. I'm looking for a solution to stop the limit of quantity on digital downloads, by auto-refreshing the shopping cart every 60 seconds or so.

scenario 1: if i were to be selling digital information that is sensitive material and exclusive to those who have bought it, if someone gets sent to paypal with items in their cart while someone else purchases the product, the person at paypal can still buy the product with no problem.. which is a problem. (and although i have ssl on my site, and pay paypal 30/month for website payment pro, i still have to leave the option to pay at paypal on my site) (eliminating the option to pay at paypal would eliminate this problem, is it possible to ask them on an individual basis to do this, because i know i can remove the code from the file for the module)

scenario 2: (lets say scenario 1 is resolved) if someone has something in their shopping cart, and someone else purchased it while they're making the purchase, they may be taken to a screen saying "this item is out of stock and has been placed on backorder"... (and i customized the text to say, this item is no longer in stock)... but, it means i have to go in and issue a refund either way. this scenario could be often times prevented by auto refreshing the quanitity, i actually think it does this between the shopping cart and the checkout page, but not between the checkout page and the submit payment button, where if it did it when they clicked "submit payment button" it would solve my problem i believe. ?!?

ideas/suggestions?

2 Nov 2009, 10:11 PM
#2
edm718 avatar

edm718

New Zenner

Join Date:
Jan 2009
Posts:
12
Plugin Contributions:
0

Post #2 by edm718

EdM718:

scenario 2: (lets say scenario 1 is resolved) if someone has something in their shopping cart, and someone else purchased it while they're making the purchase, they may be taken to a screen saying "this item is out of stock and has been placed on backorder"... (and i customized the text to say, this item is no longer in stock)... but, it means i have to go in and issue a refund either way. this scenario could be often times prevented by auto refreshing the quanitity, i actually think it does this between the shopping cart and the checkout page, but not between the checkout page and the submit payment button, where if it did it when they clicked "submit payment button" it would solve my problem i believe. ?!?

ideas/suggestions?

There should also be an easy way to do this... when someone goes from the checkout page to the checkout confirmation page, but the item they were purchasing was bought by someone else during this time, it updates the shopping cart to say
"Products marked with *** are out of stock.
Items not in stock will be placed on backorder. "

but it will still let me proceed to pay for these items.. instead, of placing on backorder, how can you have items removed from cart instead of "placed on backorder"

2 Nov 2009, 10:47 PM
#3
edm718 avatar

edm718

New Zenner

Join Date:
Jan 2009
Posts:
12
Plugin Contributions:
0

Post #3 by edm718

"how can you have items removed from cart instead of "placed on backorder"

i figured this last part out by searching the forum, you can change the value under admin>config>stock allow items to be ordered on backorder: false.

still doesnt prevent it from someone 2 people who have both entered their cc info in and both end up on the the confirm checkout page before one clicks "confirm order". (auto-refresh of just the confirm order page perhaps, every 15 seconds?)

or if someone takes their shopping cart and goes off to paypal with it. they then could order the product 5 hrs even after the product has been sold out, so long as they made it with their product in their shopping cart and over to paypal. (remove express checkout option WOULD fix this if it was allowed in paypals policy)

2 Nov 2009, 11:31 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

Back up a bit.

What makes your digital products "one-of-a-kind" such that you can't sell more than one?
And why are they in such high demand that you're experiencing so-called "out-of-stock" situations ... with something that's not a physical item?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.