Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 70
  1. #41
    Join Date
    Jul 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Ok it's working now!

    I downloaded the /includes/templates/mytemplate/templates/tpl_product_info_display.php and had another look at it and for some reason all the breaks in the code had disappeared and the entire code was just one really long line with no spaces. Weird!

    I swear I checked it like twice already before though, and the code looked fine the other two times I checked it. I'm thinking the files were getting corrupted during ftp maybe?

    clydejones & gjh42, thanks so much for all your help with this issue! I'd give you guys a big hug if I could

  2. #42
    Join Date
    Jun 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Quote Originally Posted by gustafr View Post
    This worked perfectly, thank you for all your help.
    I added to my product_info but what need change that work
    that show out of stock

  3. #43
    Join Date
    Jul 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Hi all you zenners. As this is my first post, i just want to say THANK YOU to all those who are contributing to this great living proof of man's genius and generosity.

    Well this little mod (for some a major mod) was just what I was looking for. And thank you all again. It works very well in zen-cart v 1.3.9e (and in German as well as English). I was actually looking for this possibility in the admin (or at least the means of not showing whether stock is available or not) which, when I think about it, is not very professional. Dut this is better!

    @nicstoun,

    if you study page one of this thread very closely, you will find all the information you need.

    Good luck!

    & Regards
    Jack

  4. #44
    Join Date
    Jul 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Hi again,

    just correct my mistakes, there is the possibility to not show (or to hide) the stock in hand. This is controlled by:

    admin > catalog > product types > eg. Product General > Edit Layout

    then edit -show quantity in stock (change to 0).

    Sorry if I confused anyone. Zen-Cart is vast!

    and @nikstoun

    am also sorry I got your name wrong - I also forgot to mention that the code changes referred to by clydejones and DrByte take place in :

    tpl_product_info_display.php

    and the two extra lines of code go into:

    languages/your_language/product_info.php

    all in the appropriate CUSTOM templates of course.

    And don't forget: if the setting in catalog > product types > etc. is set to zero, then the TEXT settings in the two lines mentioned above will not appear.


    Regards

    Jack

  5. #45
    Join Date
    Oct 2011
    Posts
    67
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Quote Originally Posted by seamus View Post
    Hi,
    I'v found this thread very useful, but could I ask another question?

    regarding the "new products" and "all products" lists, how do I remove the "In Stock: 5" from these lists?

    I'v used the info in this thread to remove the stock information on the main product display, but I dont know how to remove it from the new and all products lists,

    could any one point me in the right direction as to what files to alter and what code to change?

    any help would be really appreciated
    hello, i am having the same problem.

    there are two files products._all.php & products_new.php to remove or adjust the display of in stock...but what are the other two corresponding files to remove the display of quantity?

    just for all products & new products.

    thanks

  6. #46
    Join Date
    Jan 2012
    Location
    Northern Indiana
    Posts
    41
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Sorry to open such an old tread but, How do you get this MOD to display in "All Products"?

    Thanx in advance!
    Michael (Zen Greenhorn)
    Remember: Every expert started out as a beginner!

  7. #47
    Join Date
    Jun 2013
    Location
    Perth Western Australia
    Posts
    20
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Hi All,
    For some reason my store only shows the 'number' of items in stock instead of it reading '5 units in stock' it only displays the number '5' and that's it, I would like it to display the text as well, is there a setting for this? Thanks.

    Steve.

  8. #48
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Show "in stock" instead of showing units in stock

    See post #2 in this thread. You probably need to reverse Clyde's directions, and restore

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

    as it occurs by default.


    If that doesn't do it, we need to see your store and know what template you have. Some templates, especially commercial ones, may disable the display of this instead of just setting it to blank.

  9. #49
    Join Date
    Jun 2013
    Location
    Perth Western Australia
    Posts
    20
    Plugin Contributions
    0

    Default Re: Show "in stock" instead of showing units in stock

    Hi gjh42,

    I have checked the code and this is what is there

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

    I am using Yorkshire Clean template by Picafor... hi Anne :)

  10. #50
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Show "in stock" instead of showing units in stock

    Well then, try searching tpl_product_info_display.php for any instances of TEXT_PRODUCT_QUANTITY. If it is not there, check /includes/templates/template_default/templates/tpl_product_info_display.php to see what your custom template copy should include.

 

 
Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

  1. To show "In stock" but not number of units?
    By Marre in forum Basic Configuration
    Replies: 6
    Last Post: 2 May 2011, 11:03 PM
  2. Show "Units In Stock" for certain product only.
    By laydiefa in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Nov 2008, 08:08 PM
  3. Scaling image instead of "units in stock?"
    By JHouse in forum General Questions
    Replies: 1
    Last Post: 12 May 2008, 06:48 PM
  4. How to NOT show "xxx units in stock"?
    By terrykiwi in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Apr 2008, 07:51 PM
  5. Display "Product is in Stock" instead of units?
    By Corys8646 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jul 2006, 01:20 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