Forums / General Questions / Stock - Cust trying to order more than in stock

Stock - Cust trying to order more than in stock

Views: 1,545

Results 1 to 12 of 12
18 Jul 2012, 10:24 PM
#1
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Stock - Cust trying to order more than in stock

Hi all,

I expect this has been mentioned before but I need a little help.

I have been testing trying to order more of a product than what is in stock hoping to see a warning sign but when I hit the checkout button I loop back to the shopping cart with no explanation why I have been returned to this screen.

Can anyone point me in the right direction of what I may have missed in the product setup or configuration.

I need to sort this out before a customer tryes this and get jack of it and walks away

Cheers
Martyn

19 Jul 2012, 10:14 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Stock - Cust trying to order more than in stock

What's your setting in Admin - Configuration - Stock - Allow Checkout ?

20 Jul 2012, 3:27 AM
#3
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

Hi stevesh,

settings are as follows:

Check stock level true
Subtract stock true
Allow Checkout false
Mark product out of stock OUT OF STOCK
Stock Re-order level 5
Show available stock level in cart when less than order true
Display Images in Admin false
Products status in Catalog when out of stock should be set to 1
Show Sold Out Image in place of Add to Cart 1
Product Quantity Decimals 0
Show Shopping Cart - Delete Checkboxes or Delete Button 3
Show Shopping Cart - Update Cart Button Location 3
Show New Products on empty Shopping Cart Page 1
Show Featured Products on empty Shopping Cart Page 2
Show Special Products on empty Shopping Cart Page 3
Show Upcoming Products on empty Shopping Cart Page 4
Show Notice of Combining Shopping Cart on Login 1

I beleive False is correct as I don't want to allow them to checkout if there is not enough stock available. I am trying to ensure a warning comes up advising them of insufficient stock so that they know to change their qty.

Cheers
Martyn

18 Nov 2012, 8:47 AM
#4
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

Can anyone help me out on the above?

Cheers
Martyn

21 Dec 2012, 10:18 PM
#5
monicazim avatar

monicazim

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

martynbaker52:

Can anyone help me out on the above?

Cheers
Martyn

Did you figure out your issue because I have client with same issue now.

22 Dec 2012, 1:15 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Stock - Cust trying to order more than in stock

martynbaker52:

I don't want to allow them to checkout if there is not enough stock available. I am trying to ensure a warning comes up advising them of insufficient stock so that they know to change their qty.
The default settings will indeed display that sort of message.
For example, go here: http://www.zen-cart.net/index.php?main_page=product_info&products_id=22 and add 20 to your cart, and you'll see the error message.

Check stock level = true
Subtract stock = true
Allow Checkout = false (default is 'true', but 'false' will prevent checkout if they try to buy too many)
Mark product out of stock = ***
Stock Re-order level = 5
Products status in Catalog when out of stock should be set to = 0

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Dec 2012, 2:11 AM
#7
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

monicazim:

Did you figure out your issue because I have client with same issue now.

hi moniocazim, the guys who built my site installed a newer stock module to my zencart 1.3.9 and is new working great, it now tells my customers there is not enough in stock. If you want to see it in action go to https://www.lowsodiumfoods.com.au and try and order 100 of any product.

14 Jan 2013, 10:51 PM
#8
christymreed avatar

christymreed

Zen Follower

Join Date:
May 2009
Location:
Kelso, WA
Posts:
132
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

How do I set the product page to show the quantity available?

Thanks,
Christy

14 Jan 2013, 11:18 PM
#9
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

Hi Christy,

I have sent an e-mial to my site administrator to see what version of the stock module he loaded to https://www.lowsodiumfoods.com.au. If he comes back to me I'll post the version details.
If you look at my site under each image of a product is the number in stock if you the try and add more than that number to your cart a message flashes up. Feel free to try this out on my page (no need to log-in as a member) so you can see what it shows.

Martyn

15 Jan 2013, 12:35 AM
#10
martynbaker52 avatar

martynbaker52

New Zenner

Join Date:
Apr 2012
Posts:
25
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

christymreed:

How do I set the product page to show the quantity available?

Thanks,
Christy

monicazim:

Did you figure out your issue because I have client with same issue now.

Hi Christy & Monciazim,

My site administrator has come back to me with the details. He installed the following:

Stock Module: ‘stock by attributes 1.14’ for Zen Cart.

I hope this helps you out. As previously mentioned it is working really well for me.

Martyn
http://lowsodiumfoods.com.au/

15 Jan 2013, 2:25 AM
#11
christymreed avatar

christymreed

Zen Follower

Join Date:
May 2009
Location:
Kelso, WA
Posts:
132
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

Eureka!

In the Admin go to Catalog -> Product Types -> Product - General
Click "edit layout"

Edit "Show Quantity in Stock" to True and the number of units in stock will appear on the product page.

I knew it was there somewhere!

BTW this does not prevent a customer from ordering more than is in stock, but it does let them know what you have.

--Christy

30 Jul 2013, 2:19 AM
#12
pablo avatar

pablo

New Zenner

Join Date:
Jun 2011
Posts:
91
Plugin Contributions:
0

Re: Stock - Cust trying to order more than in stock

DrByte:

The default settings will indeed display that sort of message.
For example, go here: http://www.zen-cart.net/index.php?main_page=product_info&products_id=22 and add 20 to your cart, and you'll see the error message.

Check stock level = true
Subtract stock = true
Allow Checkout = false (default is 'true', but 'false' will prevent checkout if they try to buy too many)
Mark product out of stock = ***
Stock Re-order level = 5
Products status in Catalog when out of stock should be set to = 0

With all above settings set as suggested, you can place 20 in your cart and you get the "Available Stock" error message,however you can still continue to check out with the larger quantity. Any way to disable the "Continue Checkout" button until the quantity is fixed.
Maybe a simple if..then..else statement?