See post #2
See post #2
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
The last check is on the checkout confirmation page. If you wanted to reduce the window further, you could do stock checking in
includes/modules/YOURTEMPLATE/checkout_process.php
But really, you'd be better stopping and asking yourself: is this really a problem for my business?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
While placing the order, your query will allow only one transaction and after the completion of that it will process another request.
This way use also follow the zen cart when many customers try to purchase from your online store via paypal express checkout ?
What I realize In Live Store ?
If more than one customer already add to the cart the same product with quantity 1 and already both has going to the next step < Home Checkout Shipping Method > in the end both they had purchase the same product and in admin panel show -1 stock.
So the Stock module work only before the customer go to Home Checkout Shipping Method.
I already told you there's a check when the checkout confirmation page is loaded.
But remember how I told you this probably wouldn't be a problem for your business and you agreed?
It probably won't be a problem for your business. You have plenty to worry about without worrying about this.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
this lines have connection ?
<div class="card card--padding card--bg">
<h4><?php echo HEADING_PRODUCTS; ?></h4>
<?php if ($flagAnyOutOfStock) { ?>
<?php if (STOCK_ALLOW_CHECKOUT == 'true') { ?>
<div class="alert alert-warning alert-dismissable"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
<?php } else { ?>
<div class="alert alert-warning alert-dismissable"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
<?php } //endif STOCK_ALLOW_CHECKOUT ?>
<?php } //endif flagAnyOutOfStock ?>
Bookmarks