Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Show available stock level when less than order

    Hi,

    The option in Zen Cart which shows available stock level in cart when less than order has, umm... broken.
    The value is set to "true" in Admin>Configuration>Stock but the stock quantity isn't showing up in the cart at checkout.

    It was working up until yesterday when we carried out quite a few updates but I cannot for the life of me figure out why it should stop working?

    Does anyone know where I should start looking to figure out what's wrong?

    Thanks!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Show available stock level when less than order

    Did any of your updates affect the shopping cart class or template?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Show available stock level when less than order

    Hi Kuroi,

    Not as far as I'm aware, definitely no changes were made to the stylesheet. As for the shopping cart template, I reverted back to an old version to make sure I hadn't edited out any code etc but it didn't make any difference... still no stock numbers showing up in red as they were before. I'm totally stumped!

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Show available stock level when less than order

    If not the template, what about the shopping cart task, from which the message is generated? What was the nature of the updates you made?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Show available stock level when less than order

    Bingo!

    This has now been resolved. For anyone experiencing a similar problem, the fault was caused by tpl_shopping_cart_default.php and the fact that I'm using the stock by attributes add-on which uses a modified version of tpl_shopping_cart_default.php. I must've replaced the stock by attributes version of tpl_shopping_cart_default.php with the one supplied with zen cart during an update which was what caused the problem.

 

 

Similar Threads

  1. Show available stock level in cart when less than order
    By Scott Benton in forum General Questions
    Replies: 8
    Last Post: 6 Aug 2013, 04:23 AM
  2. Replies: 12
    Last Post: 28 Jul 2011, 01:00 AM
  3. Making Flat Rate SMALL Box Available if only less than 2 pounds
    By hollymccaig in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 18 Mar 2011, 06:03 PM
  4. Block customer checkout if their order is more than our stock available?
    By wcchyau in forum Managing Customers and Orders
    Replies: 2
    Last Post: 24 Sep 2009, 06:47 PM
  5. allow ordering less than Product Qty Minimum when stock is low
    By dandan in forum Customization from the Admin
    Replies: 1
    Last Post: 30 May 2008, 10:13 PM

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