Page 82 of 359 FirstFirst ... 3272808182838492132182 ... LastLast
Results 811 to 820 of 3589
  1. #811
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by silentsigma View Post
    Hi, I have install SBA version 1.4.9. It seem to work and subtract the quantity for the different attributes. But, the cart still allow a checkout of attribute that isn't in stock and it doesn't give an indication that a certain attribute is out of stock.

    ex. Size

    small = 5 in stock
    medium = 5 in stock
    large = 0

    im still able to add the large into my shopping cart without it showing any indication that it is out of stock. It also allow it to be check out and give me a negative quantity.

    Is there a way to gray out the attribute that isn't in stock or at least indicate while viewing the shopping cart? Also stop it from being able to check out "out of stock" products
    Hi

    I had the same issue and resolved it using a solution by limelite in this thread

    However be warned I understand that this only works for if you use one attribute, i.e (small meduim large), not (small medium large) and (blue red and white).

    Hope this helps.

    Phil
    ##################################################
    Online Fancy Dress - Buy Fancy Dress

  2. #812
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Is it possible to set a "global" stock for each attribute?

    Let's say I have 3 main products (Napkins).

    All 3 main products have 3 attributes (smaller napkins).

    To sell more, I want to make packages of napkins.
    Main napkin + smaller napkin

    So the main products:
    Napkin Red
    Napkin Blue
    Napkin Green

    can all be ordered with the same attributes:
    Smaller Napkin - Yellow
    Smaller Napkin - Purple
    Smaller Napkin - Black

    My Problem:
    When someone order main Red Napkins, with Smaller Yellow Napkins as an attribute. I want the "Smaller Yellow Napkin" to be subtracted in stock on all the main products having the Yellow-Napkin attribute.

    Did anyone understand this?
    And is it possible?

    Anyways - thanks for a great mod! It works perfectly well on my other products, having separate attributes..

  3. #813
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Hi

    I just installed this and when trying to add stock I get:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35 bytes) in /home/mysite/public_html/admin/products_with_attributes_stock.php(241) : eval()'d code on line 13

    (you can see I even tried increasing to 256 Mb and still get the error).

    Some products have options that have many, many variations (but will not be using these in the stock) so is it because of too many attributes? Even though these are not using the stock?

    Thanks

  4. #814
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    For info, this add-on lists ALL products in one big list, so if you have thousands of products it takes ages to load and unmanageable.

    So if interested I have added a very simple category listing function to show the category list first, then you click on a category to show products only in that category.
    products_with_attributes_stock.zip

    The out of memory problem still exists... I had to change our options and attributes to suit this add on to overcome this issue. Its when you have hundreds of attributes. It would be good to instead of adding unused attributes into the stock control, to ignore them for stock control instead. Then we probaby wont have this error.

    Thanks

  5. #815
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by infocom View Post
    For info, this add-on lists ALL products in one big list, so if you have thousands of products it takes ages to load and unmanageable.

    So if interested I have added a very simple category listing function to show the category list first, then you click on a category to show products only in that category.
    products_with_attributes_stock.zip

    The out of memory problem still exists... I had to change our options and attributes to suit this add on to overcome this issue. Its when you have hundreds of attributes. It would be good to instead of adding unused attributes into the stock control, to ignore them for stock control instead. Then we probaby wont have this error.

    Thanks
    Good idea, I wanted to do something similar but unsure how to implement. I would like to have a screen with a search box that if you type in a model number it brings up only the one you search for.. any idea how to implement something like that?

    Phil
    ##############################___
    Online Fancy Dress

  6. #816
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    The simplest is first add in a search form to submit back to the same page, then in the class file SQL that retrieves the product list, add in a line to the query to retrieve the product with model number equal to the one you submitted (via GET or POST).

    So its similar to the category list modification. I added in code to return only products matching the category id. So you do the same for a product model number entered into a search box.

  7. #817
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default

    Quote Originally Posted by infocom View Post
    The simplest is first add in a search form to submit back to the same page, then in the class file SQL that retrieves the product list, add in a line to the query to retrieve the product with model number equal to the one you submitted (via GET or POST).

    So its similar to the category list modification. I added in code to return only products matching the category id. So you do the same for a product model number entered into a search box.
    Wow thanks, but unfortunatley you lost me at "The simplest is first add in a search form to submit back to the same page"

    can you explain in more detail or provide a basic example please?

    Cheers
    Phil
    Posted via Mobile Device

  8. #818
    Join Date
    Jul 2006
    Location
    Cardiff, Wales
    Posts
    305
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    In order to achieve this you would need to have some basic HTML and PHP knowledge, so if you do not have this I think the best thing is someone provides it here or does it for you, which I dont mind doing but I cant right now as I am chocka block sorry! When I next work on my clients site, which may be over the next few days, I will see if I can add it in and resubmit the file - unless someone beats me to it hint hint

  9. #819
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default

    Quote Originally Posted by infocom View Post
    In order to achieve this you would need to have some basic HTML and PHP knowledge, so if you do not have this I think the best thing is someone provides it here or does it for you, which I dont mind doing but I cant right now as I am chocka block sorry! When I next work on my clients site, which may be over the next few days, I will see if I can add it in and resubmit the file - unless someone beats me to it hint hint
    Yeah if someone could that would be good, I'm not too bad with either HTML or php basics but never built a search so could do with an example, that way I'll know for next time :o)

    cheers
    Posted via Mobile Device

  10. #820
    Join Date
    Sep 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    I've done a bit of searching, and cannot find an answer other than a short discussion from 2006.

    I sell green coffee by the pound, and the offerings are priced by attributes with 1#, 2#, 5#, 10#, and 20$ quantities offered. The problem is that there is not a stock quantity associated with the attributes, and it does not appear that this mod addresses attribute quantities where all the attribute items are merely different quantities of the same stock item. Does something like that exist, or alternatively, is there a way to price by quantity with discrete amounts available (the weights match my shipping packaging).

    Thanks for the help.

    site is www.noquartercoffee.com

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 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