Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Show attribute stock levels on product page?

    Is is possible to show stock levels of attributes on the product page to prevent customers from trying to order more products than actually exist? We have a 1.3.9h installation.

    Thanks,

    John

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

    Default Re: Show attribute stock levels on product page?

    Search the Plugins area for Stock By Attributes

  3. #3
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: Show attribute stock levels on product page?

    We have that installed -- but it only shows stock levels in the admin side, not on the product page. Unless there's something I'm missing.

  4. #4
    Join Date
    Apr 2010
    Posts
    319
    Plugin Contributions
    0

    Default Re: Show attribute stock levels on product page?


  5. #5
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: Show attribute stock levels on product page?

    Ah, that looks like it might do it. I'll check tomorrow. Thanks!

  6. #6
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: Show attribute stock levels on product page?

    Well, close, but no cigar, as my 2nd grade teacher used to say. (I have no idea why she said that).

    It looks like the code should add a stock amount to the attribute, but it doesn't. Looking at the code with my very amateurish eye, I see it appears to address several different attribute styles, but not the dropdown menu (which my attribute uses). Might that be part of the problem?

    John

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

    Default Re: Show attribute stock levels on product page?

    Make a temporary attribute of another kind to see if it works for that on your site. If so, then you know the dropdown situation is what needs addressing.

  8. #8
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: Show attribute stock levels on product page?

    With a different style of attribute it works... sort of.

    I created a checkbox style attribute and added it to a product. When I display that product, I see my checkbox option followed by the number of pieces I have in inventory.

    However, the modification breaks the attribute.php page by repeating the attribute numerous times down the page. You can see what I mean below:

    http://quinceandco.com/backup/index....&products_id=1

    So, this modification would be great if:

    1) It worked with dropdown menus;
    2) It doesn't break the attribute function

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

    Default Re: Show attribute stock levels on product page?

    If there is really a bug in the mod, you should report it in the mod's support thread. Otherwise, asking for help there is likely to be more productive than here. You might find out why the mod doesn't handle dropdowns, too, and maybe even get someone to improve it.

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

    Default Re: Show attribute stock levels on product page?

    Okay, I see that the quantity display is not a formal mod, but a suggestion in a closed thread. So you first need to examine whether you followed the directions correctly, and whether the base file code is the same in your version of Zen Cart, if you are on v1.5.x.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Reducing Stock Levels by Attribute
    By ssmilwauke in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Jul 2010, 04:04 PM
  2. Changing stock levels when attribute ordered
    By gprit in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 9 Aug 2009, 12:25 PM
  3. Updating Stock levels (by Attribute) after a sale
    By Harry_GSP in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 22 Jun 2009, 02:04 PM
  4. View stock levels per item in attribute mod
    By Magickal in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Feb 2009, 03:40 AM
  5. Stock by attributes show stock levels placement error
    By fradesigns in forum General Questions
    Replies: 0
    Last Post: 17 Oct 2007, 01:14 AM

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