Kryptronic Software Support Forum

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.

#1 08-20-2002 22:19:54

craigelliott
Member
Registered: 06-24-2002
Posts: 45

Backorders

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

 

#2 08-21-2002 08:00:37

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19906
Website

Re: Backorders

That would require changing the out of stock logic in ./cgi-bin/library/modules/ste_prod.pl.  It shouldn't be too difficult to handle.


Nick Hendler

Offline

 

#3 08-04-2003 22:45:56

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Backorders

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


Vinh
VQC Designs, LLC


Offline

 

#4 08-05-2003 11:18:42

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19906
Website

Re: Backorders

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.


Nick Hendler

Offline

 

#5 07-09-2004 06:25:12

BlossomPink
Member
From: Cumbria, UK.
Registered: 03-19-2004
Posts: 225
Website

Re: Backorders

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


BlossomPink

~*~*~*~*~*~*~*~*~*~*~*~

~*~*~*~*~*~*~*~*~*~*~*~

Offline

 

#6 07-16-2004 14:43:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19906
Website

Re: Backorders

No.  There's a lot more code in the 5.1 version.  Post a request in that forum and I'll get back to you on the code.


Nick Hendler

Offline

 

Board footer