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.
Hi
Posting a request on 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.
Nick asked me to post in this forum so here it is.
Thanks
BlossomPink
Offline
There was a simple patch for this in V5 is there a revised patch for 5.1?
Ken
Offline
The mod is in this thread
The code snippet is this....
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');
###
Aparently the code has been significantly enhanced since 5.0 in that area and this simple patch no longer applies...
Ken
Offline
In 5.1, this hack would be applied as follows:
In the file ./cgi-bin/library/modules/ste_prod.pl, in the routine ste_prod_show_price, look for:
} elsif ($useinv eq "Y" && $inv <= "0") { $display_price = "N"; &display_print('ste_outstock');
And comment those lines out by adding a pound sign (#) to the beginning of each line. Then look for:
######### ######### Print the price display, if we can. ######### if ($display_price eq "Y") {
And right below that, add:
if ($useinv eq "Y" && $inv <= "0") {&display_print('ste_outstock');}
Then change the out of stock element to include language about back orders.
Offline
I have tried this Nick, and it still does not allow you to order if an item is Out of Stock
Offline
Is there a revised patch to get back orders going in 5.1?
Nick - any update? Thanks in advance
Ken
Offline
Would be really handy to have this feature - has anyone found a working solution to this?
Offline
Also, would there be any way to have a list of products (displayed on the admin screen somewhere) that have breached a certain inventory level as a reminder to re-stock them? Otherwise how would the admin know without either looking through every product frontend or backend?
Offline
Has anyone gotten this to work for them? I would also like to be able to give people the option of ordering an out of stock item.
Thanks,
Jess
Offline
I know it's been a while since the last post on this but it is exactly what I am looking for to do on my site. Nick, is there any update on the code you posted previously in this thread or is there anyone out there that has a working fix for this?
Thanks!!
Mike
Offline