Results 1 to 10 of 1125

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Sweden
    Posts
    151
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    On my previous version of the shop (1.2.7) in combination with attribute stocks I was able to add a little text behind the actual attributes in the product info page.

    Example
    Size:
    Small [In stock]
    Medium [Available att supplier] (<- Not as much text in swedish )

    This was done by editing/adding the following code to: includes/modules/pages/product_info/main_template_vars_attributes.php
    Code:
    if  ($products_options->fields['quantity'] > 0) {
              $products_options_array[] = array('id' => $products_options->fields['products_options_values_id'],
                                               'text' => $products_options->fields['products_options_values_name'] .' [ '. TEXT_ATTRIBUTES_IN_STOCK . ' ]');
    		} else {
    		  $products_options_array[] = array('id' => $products_options->fields['products_options_values_id'],
    											'text' => $products_options->fields['products_options_values_name'] .' [ '. TEXT_ATTRIBUTES_NOT_IN_STOCK . ' ]');
    			}
    This was something that I found very useful as customers knew what to expect when it comes to delivery time even before adding the product to the cart.

    Anyone who has implemented something like this to stockAttribute3.01?

  2. #2
    Join Date
    Jul 2006
    Posts
    144
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by Svanis
    Example
    Size:
    Small [In stock]
    Medium [Available att supplier] (<- Not as much text in swedish )
    That was a very good idea to maybe have as an option from Admin. I hope it will be implemented also...

    /Typhoon

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

    Default Re: Stocks by attributes

    I'm looking at it right now . It's certainly a candidate. It may not need an admin switch as you could turn it off by setting the text to NULL. I'm also considering three levels equivalent to "in stock", "low stock" and "out of stock".

    Downsides - I can see how it would work if there were just one attribute, but how would it work if there were two or more. I'd be interested to hear what you stock experts think .
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    May 2005
    Location
    Sweden
    Posts
    151
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by kuroi
    I can see how it would work if there were just one attribute, but how would it work if there were two or more.
    I'm pretty sure that it would be in need of either ajaxification or javascript for it to update and match the different attributes.
    I think that this has been discussed before. Since I'm not that much of a coder myself I don't know how to do it but similar has been done in the admin part of the site.. I think it's called Improved attributes controller..

  5. #5
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Hey,

    I'm starting up a new shop with newest ZC version 1.3.5 and I would love to use and beta-test this Stocks By attributes newest beta! :)

    I've already downloaded the one from the Downloads but since reading here so much warning it is better to start being a beta tester. Great!

    Elli
    I may be blond but at least I found Zen.

 

 

Similar Threads

  1. v139h Stocks of certain products disappearing automatically
    By Lowwi in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2015, 09:09 PM
  2. Installing Stocks by Attribute
    By dragon03kf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Oct 2008, 07:42 PM
  3. Stocks by attributes
    By hcd888 in forum General Questions
    Replies: 1
    Last Post: 12 May 2008, 08:52 AM
  4. Multiple stocks per product
    By jaycode in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2007, 11:55 AM
  5. Products with attribute stocks
    By Svanis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2006, 03:19 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