Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Stock level indicator, for stock by attributes controller

    I use stock by attributes controller, and today I am searching for a way to have stock levels indicated under each attribute so the customer can choose what is in stock rather than finding out it is out of stock when they add the item to the cart

    I found this http://www.zen-cart.com/forum/showthread.php?t=34977
    It talks about a mod that they have made for this that is going to be added to the contributions section once finished but I am not sure what it is called. I did not read the 50 pages to find out.

    I found this in the contributions: http://www.zen-cart.com/index.php?ma...roducts_id=953
    I am going to test it now, but the readme file said there are lots of bugs with this script. I will post my comments later.

    If anyone has any links or information on anything that indicates stick levels on the item page its self please post here


    I would not mind if the page looks like this

    [FONT=Verdana]Please Choose: [/FONT]

    [FONT=Verdana]Size (AU)[/FONT]
    [FONT=Verdana]{} 08 (S)[/FONT]
    [FONT=Verdana]in stock 2 MARINE[/FONT]
    [FONT=Verdana]{} 10 (M)[/FONT]
    in stock 1 [FONT=Verdana]OLIVE[/FONT]
    [FONT=Verdana]{} 12 (L)[/FONT]
    in stock 1 MARINE
    in stock 2 OLIVE
    [FONT=Verdana]{} 14 (XL)[/FONT]
    [FONT=Verdana]out of stock[/FONT]
    [FONT=Verdana]{} 16 (XXL)[/FONT]
    out of stock




    [FONT=Verdana]Colour[/FONT]
    [FONT=Verdana]{}MARINE[/FONT]
    [FONT=Verdana]{}OLIVE[/FONT]



    [FONT=Verdana]{} = Radio buttons[/FONT]
    Last edited by vandiermen; 13 Nov 2008 at 09:10 AM. Reason: spacing

  2. #2
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Stock level indicator, for stock by attributes controller

    http://www.zen-cart.com/index.php?ma...roducts_id=953

    The mod I found is excellent

    Example: http://www.tuscanyhydepark.com.au/in...&products_id=2

    but....

    When I use it with 2 attributes this happens
    http://www.tuscanyhydepark.com.au/in...&products_id=1
    13.11.08


    define('TEXT_OUT_OF_STOCK', 'Out of stock');
    define('TEXT_OUT_OF_STOCK_MESSAGE', 'The combination of options you have selected is currently out of stock. Please select another
    combination.');

    I have never seen the 'TEXT_OUT_OF_STOCK_MESSAGE' message...

    It works ok but when you select a combination of items that are not in stack it comes up with a pop up that says [FONT=Verdana]TEXT_SELECT_OPTIONS,
    So I added
    define('TEXT_SELECT_OPTIONS', 'The combination of options you have selected is currently out of stock. Please select another
    combination.');
    To /public_html/includes/languages/english/product_info.php
    [/FONT]
    But then after I did this, the pop up stopped coming up and all it did when you selected items with no stock was go to the shopping cart where is said the item was out of stock, (well it better than before)


    The read me file said

    =============
    KNOWN ISSUES:
    =============
    1. The single_dropdown option does not work correctly as it does not add the item with the selected attribute. I hope to have this fixed soon. To get around this use multiple_dropdown or sequenced_dropdown options for the single attribute configuration.
    2. Multiple_drop down does not work with multiple attributes, a regular expression needs to be fixed. Use the sequenced_dropdown for more than one attribute.
    2. This code is far from optimized and does not follow all the Zen Cart standards. I hope to have this cleaned up over time with the help of the community.
    3. The single_radioset option is not tested.
    ################################################################################__


    I dont know what some of that meant

  3. #3
    Join Date
    Feb 2007
    Posts
    513
    Plugin Contributions
    2

    Default Re: Stock level indicator, for stock by attributes controller

    I want the popup to work but I want it to say OUT OF STOCK, I will look in to this now

 

 

Similar Threads

  1. Compare Multiple Products/Stock Level Indicator
    By dinix in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Feb 2012, 02:42 AM
  2. Stock Level Indicator installation
    By orien in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Aug 2010, 11:14 AM
  3. traffic light stock level indicator
    By modchipfitters.co.uk in forum Templates, Stylesheets, Page Layout
    Replies: 32
    Last Post: 13 Nov 2009, 11:11 PM
  4. Stock Level Indicator in Product Info Page
    By jeanjean88 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2008, 06:36 AM
  5. product page stock level indicator
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Oct 2008, 04:28 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