Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Aug 2013
    Location
    central united states
    Posts
    6
    Plugin Contributions
    0

    Default Insufficient Stock message not showing up in cart

    I just upgraded to 1.5.4.
    Before the upgrade, if a customer added a product that didn't have enough stock, it would show up in the cart and state "Insufficient Stock" in plain view. It was very clear what was going on and really nice.
    Now when the customer adds something that has zero stock you go to a page saying "Your Cart is Empty". If the customer tries to add 4 pieces of a product and there are only 3 in stock looks like everything is fine. Then you go to the cart and the quantity will be 3. It doesn't tell you Insufficient Stock right next to it. It has a banner at the top that says Warning Quantity has been adjusted to what is in stock. This in not nearly as nice as the the Insufficient Stock right next to the product.
    How do I get back to the Insufficient Stock next to the product?

    Here are my settings:
    Title Value Action
    Check stock level true
    Subtract stock true Info
    Allow Checkout false Info
    Mark product out of stock Insufficient Stock

    I am pretty inept when it comes to computers and zen cart so please explain stuff in very basic and complete terms.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Insufficient Stock message not showing up in cart

    From what version did you upgrade where you saw the action(s) that you "miss"?

    Were the settings the same there as what you show above?

    I just happened to be trying these scenarios earlier today with regards to routine ZC response in 1.5.4, and so far I haven't seen anything that is abnormal for it. But also haven't gone back to compare with other versions (1.5.1 or 1.5.3) and see if/how the response is different.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Insufficient Stock message not showing up in cart

    Also, can you post a URL to the site, and an indication of which products one should be able to test this with?
    (Maybe it's a CSS/styling thing that's just not showing properly, which is best diagnosed by viewing the page directly)
    .

    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.

  4. #4
    Join Date
    Aug 2013
    Location
    central united states
    Posts
    6
    Plugin Contributions
    0

    Default Re: Insufficient Stock message not showing up in cart

    Sorry for leaving that info out.
    I upgraded from 1.5.1.
    As far as I know the setting are all the same.

    http://racedayhobbies.com/

    Use part number GRC124GTW and quantity of 4
    Use part number GRC124 and quantity of 1
    Last edited by irishracing31; 18 Feb 2015 at 12:53 PM.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Insufficient Stock message not showing up in cart

    In v1.5.4, when products are added to the cart, the cart is adjusted to for the quantity available.

    You will see if you try to add 4 for GRC124GTW that it adjusts to 3, which is fairly clear.

    But on the other Product GRC124, since it is adjusted to 0, that is not quite as clear since the product is not added to the cart at all and just the message is showing ...

    We will have to give this some thought to make the message clearer ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Insufficient Stock message not showing up in cart

    How is it that you are allowing Products with quantity 0 to even be added to the cart?

    What happens if you switch to the Classic Template and look at Product GRC124 does it still show the Add to Cart?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Insufficient Stock message not showing up in cart

    Have you tried the setting in the Configuration ... Stock ... for:
    Show Sold Out Image instead of Add to Cart Button

    0= off
    1= on
    and turned that ON, or are you not wanting the Sold Out on Products with 0 quantity for some reason?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Insufficient Stock message not showing up in cart

    Quote Originally Posted by irishracing31 View Post
    Now when the customer adds something that has zero stock you go to a page saying "Your Cart is Empty".
    Although not directly related to the problem you are having, I have found it quite beneficial to set

    configuration->Stock->Show New Products on empty Shopping Cart Page to '1'.

    This way if/when a customer does load the shopping cart page that doesn't contain any contents (for whatever reason) rather than a near empty page telling them the cart is empty, it will also show a list of new products to look at.

    There are similar settings on this same config page that will let you show Featured products, Specials and upcoming products.

    Cheers
    RodG

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Insufficient Stock message not showing up in cart

    To show the message about the stock adjustment for a Product with quantity 0, you can add the code in RED to your template and override for:
    /includes/templates/template_default/templates/tpl_shopping_cart_default.php

    by copying that to:
    /includes/templates/your_template_dir/templates/tpl_shopping_cart_default.php

    if not already there with:
    Code:
    <h2 id="cartEmptyText"><?php echo TEXT_CART_EMPTY; ?></h2>
    <?php if ($messageStack->size('shopping_cart') > 0) echo $messageStack->output('shopping_cart'); ?>
    
    This will display the messages for the shopping_cart when the cart is empty ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Insufficient Stock message not showing up in cart

    Quote Originally Posted by Ajeh View Post
    In v1.5.4, when products are added to the cart, the cart is adjusted to for the quantity available.

    You will see if you try to add 4 for GRC124GTW that it adjusts to 3, which is fairly clear.

    But on the other Product GRC124, since it is adjusted to 0, that is not quite as clear since the product is not added to the cart at all and just the message is showing ...

    We will have to give this some thought to make the message clearer ...
    I noticed the SAME behavior when installing/testing lat9's Product Options Stock Manager module. I had thought it was the POSM module doing this, and then stumbled on this thread today.. I found that the on-screen messaging as to what was happening was not very clear. I don't recall all the exact messages, but I will start first with making the change you suggest and then going back to test if there are any other usability issues..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 "Insufficient Stock" notice doesn't appear in shopping cart
    By magz in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Nov 2013, 07:16 PM
  2. v139h out of stock message not showing
    By hornstar in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2012, 02:53 PM
  3. Replies: 5
    Last Post: 3 Aug 2011, 08:15 AM
  4. Applies to FEC and PP Express Checkout - Checkout with insufficient stock
    By kiddo in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Jul 2009, 10:27 PM
  5. Insufficient Funds Error Message - PayStation payment module
    By glennnz in forum Addon Payment Modules
    Replies: 4
    Last Post: 24 Jun 2008, 12:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR