Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
silentsigma
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 :lookaroun
##################################################
Online Fancy Dress - Buy Fancy Dress
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..
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
1 Attachment(s)
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.
Attachment 7044
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
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
infocom
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.
Attachment 7044
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
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.
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 :wink:
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