Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2011
    Posts
    2
    Plugin Contributions
    0

    Default Show stock in product listing

    Hi, my first posting, just getting my head round Zencart, seems to be going well.
    Easy question I hope - when I list the products in the only category I have, currently the stock level does not show and I'd like it to please.
    I'm selling course places so its important to have the number of places left on a given course, each course date is a separate product. If I click on any product for more info the stock shows up then but not in the product listing.
    I think I've set all the right things and I have searched in the all the right places (I hope!) for answers but most peeps are asking to turn OFF the stock level! Clicking here takes u straight to it
    Anyway, any help would be hugely appreciated,
    Many thanks, Vince

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Show stock in product listing

    There's a quantity setting in Admin - Configuration - Product Listing.

  3. #3
    Join Date
    Oct 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Show stock in product listing

    Brilliant, thanks for that! I've changed the setting and it all works a treat, Have also slightly adjusted the wording in the product php and layout in the CSS.
    In an ideal world I could have the stock quantity followed by the word "places" ie 7 places available. My PHP is a long way from being good enough for that, if I post the existing bit of code could someone advise on putting that bit of plain text after the variable please?
    Many thanks - Vince

  4. #4
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Show stock in product listing

    includes/languages/english/your_template/product_info.php

    define('TEXT_PRODUCT_QUANTITY', ' Units in Stock');

    Edit the words in red.

  5. #5
    Join Date
    May 2016
    Location
    Ohio
    Posts
    410
    Plugin Contributions
    0

    Default Re: Show stock in product listing

    I tried to enable this and quantity is still not showing in listings

  6. #6
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Show stock in product listing

    Quote Originally Posted by jmberman View Post
    I tried to enable this and quantity is still not showing in listings
    May be a template related problem. Please identify what has been attempted specifically, what template is involved, etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Can I show the out of stock arrival date on product listing?
    By d1rage5 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 23 Aug 2010, 11:13 PM
  2. Stock By Attributes - Stock to Show on Listing
    By anshii in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Dec 2009, 11:50 AM
  3. Product Listing - Show only in stock option
    By zigzak in forum Basic Configuration
    Replies: 3
    Last Post: 7 Sep 2006, 10:26 PM

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