Forums / General Questions / Change "add to cart" button to Pre Order when out of stock?

Change "add to cart" button to Pre Order when out of stock?

Locked

Started by shawnz28 on 23 Dec 2007, 9:03 AM · Views: 5,726

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
23 Dec 2007, 9:03 AM
#1
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Change "add to cart" button to Pre Order when out of stock?

I am looking for ideas and if this can be done. Basically I do not want to show quantities available as I dont plan to use the cart to track inventory as it is too difficult with both a walk in and online store at the moment. But what I would like to do is what I am doing on the current site I use which is all just static html with form buttons. When something is out of stock i change the button to say preorder and the customer can still add to the cart if they choose. Best I see at the moment I can have the cart tell the customer something is out of stock once added to the cart but the product description page seems to have no way to do it, and would like to not have any customers think I am trying to "fool them" to adding it. When I set the cart to display the Sold Out image you cannot add the item for purchase, is there a way to set it so that it can be added?

23 Dec 2007, 3:26 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Check my Request Restock mod.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 9:14 PM
#3
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Finally got to look at this, not sure it does what i want. I am hoping to basically be able to let people add items to the cart even when they show out of stock or backorder. I am able to set it now to where when added to the cart it will say backorder/preorder but I cannot figure out if it is possible to have the product page say preorder/backorder while doing this and the order confirmations do not show the pre-order/backorder status

13 Jan 2008, 9:16 PM
#4
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Well actually I guess I did not get this working how I thought. When I set the product quantity to zero I am able to still add it to the cart and shows preorder when added but if I complete the transaction the quantity the store sees becomes -1 and disables the product even though I have the "allow checkout" option set to True

EDIT - FIGURED THIS PART OUT MISSED AN OPTION

13 Jan 2008, 9:17 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

1 quick question: When customer pre-order, do you require them to pay?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 9:21 PM
#6
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

No we would charge for the missing item at time of shipment. I am going to suggest your mod to the store owner might be the better way. Some customers seem to like the way we do it now as they would not have to make separate orders for the missing items etc....

13 Jan 2008, 9:57 PM
#7
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

I think I found part of my answer it looks as if the changing sold out image to show backorder and still add to cart is not possible. Still looking into the adding backorder status is possible to be added to the confirmations

13 Jan 2008, 10:31 PM
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

There is a switch in Admin panel that you can turn off so that it will not check for stock (hence allowing customers to add product even when it's out). I dont remember exactly where tho, some where under configuration - stock maybe.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 11:23 PM
#9
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Thanks i found that part now and it does work, but was hoping to get it to show out of stock before a customer adds it to the cart so they are not suprised when they do( this is the part that I found was not possible here http://www.zen-cart.com/forum/showthread.php?p=489436#post489436 ). Or if not that then add the backorder status to the order confirmation so that there is proof the customer was shown the status at some point in the order creation

13 Jan 2008, 11:25 PM
#10
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

So now the sold out button is not there any more?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 11:30 PM
#12
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Well, if so it's not really impossible, but you may need to change the code a bit to make that appear.

The file you want to look into is: includes/modules/pages/product_info/header_php.php

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 11:35 PM
#13
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Not that I know how to edit php but this file would control the product status in the cart or the email or both?

13 Jan 2008, 11:36 PM
#14
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

The display of the product info page.> shawnz28:

Not that I know how to edit php but this file would control the product status in the cart or the email or both?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

13 Jan 2008, 11:42 PM
#15
shawnz28 avatar

shawnz28

New Zenner

Join Date:
Apr 2005
Posts:
75
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Gotcha, thanks for the info, who knows maybe at some point I can figure it out

24 Apr 2009, 5:57 PM
#16
xxdrag0nxx avatar

xxdrag0nxx

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

shawnz28:

Thanks i found that part now and it does work, but was hoping to get it to show out of stock before a customer adds it to the cart so they are not suprised when they do( this is the part that I found was not possible here http://www.zen-cart.com/forum/showthread.php?p=489436#post489436 ). Or if not that then add the backorder status to the order confirmation so that there is proof the customer was shown the status at some point in the order creation

wow this is exactly what I want :(

2008... I am guessing its still not available? :(

24 Apr 2009, 9:32 PM
#17
moggi1964 avatar

moggi1964

New Zenner

Join Date:
Mar 2009
Location:
New Jersey USA
Posts:
67
Plugin Contributions:
0

Re: Change "add to cart" button to Pre Order when out of stock?

Me too!

Morris Bagnall
Owner
http://astrolaugh.com