You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
How can we handle backorders? Or maybe it wouldn't be called backorders.
I'm looking for a way when the inventory goes to zero for an item, to still allow shoppers to buy the item, but let them know it is not available for immediate shipment.
We sell t-shirts and have a limited quantity on hand. When we run out, our t-shirt guy makes us more shirts... but this takes a week or so.
Is anything like this in place? Like having a field called "Allow over ordering" or something like that?
Craig Elliott
Offline
Nick,
Could you please post the code on how to do this? This would be a great feature to have for products that have an inventory! Thanks
Offline
First, under HTML Pages & Elements | Manage Site Elements, update the element named 'Product Out Of Stock Message'. You'll want to provide a more explanatory message about the item being out of stock, but that it can be ordered.
Then, edit the file ./cgi-bin/library/modules/ste_prod.pl. Look in the routine 'ste_prod_show_price'.
Comment out the lines:
###
} elsif ($useinv eq "Y" && $inv <= "0") {
$display_price = "N";
&display_print('ste_outstock');
###
By adding a # in front of them. Then, right under the lines:
###
if ($display_price eq "Y") {
if ($display_sale eq "Y") {
###
Add:
###
&display_print('ste_outstock');
###
That's all there is to it.
___________________________
Nick Hendler
Webmaster, Kryptronic, Inc.
Offline
Hi
I am trying to add this mod to my ccp shop but can't get it to work. I realise this mod was posted some time ago and wonder if it is compatible with the later versions?
Thanks
BlossomPink
Offline