Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Attribute OUT OF STOCK

    Hi all,

    Ok lets hope I can explain this right!

    I have products, XS, S, M etc and do not want to display the amount of stock we have....rather I want only to display when each particular size is "Out of Stock"

    so for example at the moment I have Stock By Attributes and it displays as follows:

    Please Choose:
    Size - Select a Size
    - XS
    - S
    - M

    I want it to look like the following if a size is out of stock

    Please Choose:
    Size - Select a Size
    - XS (Out of Stock)
    - S
    - M

    As it is at the moment, the customer has to add to cart only to find out that it is out of stock.

    Does anyone know if this can be done?

    Many thanks,
    Neil

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Attribute OUT OF STOCK

    You will need to custom code this in the show stock value area with an if/else condition that checks for "0" stock
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Attribute OUT OF STOCK

    Thanks Kobra....is that an easy thing to do? Which file would I need to modify?

    Cheers,
    Neil

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Attribute OUT OF STOCK

    Are you using the stock-by-attributes module by kuroi that is in the downloads/other section?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Attribute OUT OF STOCK

    Yes...V4.4

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Attribute OUT OF STOCK

    is that an easy thing to do? Which file would I need to modify?
    Well I have not looked but would expect that this is a medium task and would involve several files.
    Zen-Venom Get Bitten

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

    Default Re: Attribute OUT OF STOCK

    There's no simple plug-in to do this, though I'm pretty sure one will appear when stock by attribute is integrated into core code in Zen Cart 1.4.

    Currently there is no solution for displaying stock levels on the product info page for when products have multiple attributes, but there is a solution for products with just one attribute. This is described in one of the stock by attributes support threads (I'm not sure which - I recommend searching for "Grayson", the Zen Carter who derived the original solution, and then following subsequent threads to find out how it needs to be tweaked for later versions or Zen Cart.

    Once you can display the stock, it's an easy simplification to suppress that information except when the stock is zero and then replace it with a stock out message or icon. I'm pretty sure that this has been explained somewhere in the support thread too.
    Kuroi Web Design and Development | Twitter

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

  8. #8
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Attribute OUT OF STOCK

    Thanks Kuroi...i will check into it!

    Cheers,
    Neil

  9. #9
    Join Date
    Oct 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Attribute OUT OF STOCK

    If anyone finds a solution to this, it would be very appreciated if you would post any tips.

    thX! :)
    -CC

 

 

Similar Threads

  1. v139h Price by Attribute issue affecting all products when one attribute is out of stock.
    By NCRS 1962 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Dec 2012, 02:11 AM
  2. Stock by Attribute setup and product has stock when added to card says out of stock
    By kwrosenzweig in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 Jun 2011, 06:18 PM
  3. Stock by Attribute - Out of Stock Error Message
    By genxian in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 May 2011, 06:37 PM
  4. Attribute out of stock
    By jgkiefer in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 3 Jan 2008, 02:02 PM
  5. attribute out of stock
    By gsdcypher in forum General Questions
    Replies: 1
    Last Post: 16 Oct 2007, 05:28 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