Zen Cart Logo
Forums / All Other Contributions/Addons / Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Views: 658,727

Results 801 to 820 of 3,609
23 Dec 2009, 5:22 AM
#801
forced avatar

forced

New Zenner

Join Date:
Oct 2007
Posts:
61
Plugin Contributions:
0

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Here is my link...
http://www.cacorvettecustoms.com/index.php?main_page=product_info&cPath=1&products_id=2

I am using this add on and also need to do a mass addition. Im not using it for stock, but rather the dynamic updates of the dropdown. On the page, the only things that will change are the year and the color. Every year from 1997-2004 has a different set of colors available. Anybody experience anything like this or have an idea?

I was able to do it manually for the other 3 products, but to do this would take a year! I thought using the "all" selection would work, but it does not put the attributes in the correct order in the database field, so the dropdown will not work correctly.

27 Dec 2009, 7:44 PM
#802
forced avatar

forced

New Zenner

Join Date:
Oct 2007
Posts:
61
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

forced:

Here is my link...
http://www.cacorvettecustoms.com/index.php?main_page=product_info&cPath=1&products_id=2

I am using this add on and also need to do a mass addition. Im not using it for stock, but rather the dynamic updates of the dropdown. On the page, the only things that will change are the year and the color. Every year from 1997-2004 has a different set of colors available. Anybody experience anything like this or have an idea?

I was able to do it manually for the other 3 products, but to do this would take a year! I thought using the "all" selection would work, but it does not put the attributes in the correct order in the database field, so the dropdown will not work correctly.

I've tried mixing the attributes, but get the same results. :(

Any suggestions? :frusty:

31 Dec 2009, 12:00 AM
#803
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I have a problem with a clients site...they have an item that a customer added to the cart today but the cart told them the item was out of stock....but in the stock by attribute area there are over 900 noted in stock..

..I have checked other products within the store and everything else is fine....so I am not sure where to look at what the problem may be....it just seems to be this one product.....

I of course have the check inventory feature turned off for now until I get this resolved , but the product is this one:

http://www.eccobella.com/index.php?main_page=product_info&cPath=47_42&products_id=51

Can anyone advise on this?!?!?

31 Dec 2009, 8:23 AM
#804
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

jill8026:

I have a problem with a clients site...they have an item that a customer added to the cart today but the cart told them the item was out of stock....but in the stock by attribute area there are over 900 noted in stock..

..I have checked other products within the store and everything else is fine....so I am not sure where to look at what the problem may be....it just seems to be this one product.....

I of course have the check inventory feature turned off for now until I get this resolved , but the product is this one:

http://www.eccobella.com/index.php?main_page=product_info&cPath=47_42&products_id=51

Can anyone advise on this?!?!?

Have you tried syncing stock? The item in stock out of stock is controlled by the overall stock level so if that is 0 the it will be out of stock. When syncing stock it adds up the variants and sets the main stock level.

i.e
s=30
m=50

overall stock = 80

yours might be

your variant = 900

overall stock = 0

Thats all I can think of, sorry if im teaching you to suck eggs..

Phil

18 Jan 2010, 4:40 PM
#805
engel003 avatar

engel003

New Zenner

Join Date:
Jan 2010
Location:
Ohio
Posts:
13
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I am new to this and I searched for a related post, but did not find one for this issue.

I have set up two attributes for a shirt as drop down lists (Size & Color) and added stock to the different combinations of shirts.
EX: Green XL = stock 5, Green L = stock 2, Green S = stock 7.

When I am on the site and I change one or both of the attributes (Drop Down Boxes), the units in stock does not change to reflect quantity in stock for that specific shirt (Size & Color).

How can I fix this so when a customer changes the drop down boxes on the products page, the Units in Stock changes accordingly?

Also, is there a way to have the picture change when a customer selects an item from a drop down box? Example: The product page is for a shirt. The Drop down box (Attribute) has colors (Blue, Red, Green). The customer select green, and the picture changes to a picture of the shirt in green.

I am using v1.3.8 and I have installed add-on Stock by Attribute.

18 Jan 2010, 4:48 PM
#806
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

engel003:

I am new to this and I searched for a related post, but did not find one for this issue.

I have set up two attributes for a shirt as drop down lists (Size & Color) and added stock to the different combinations of shirts.
EX: Green XL = stock 5, Green L = stock 2, Green S = stock 7.

When I am on the site and I change one or both of the attributes (Drop Down Boxes), the units in stock does not change to reflect quantity in stock for that specific shirt (Size & Color).

How can I fix this so when a customer changes the drop down boxes on the products page, the Units in Stock changes accordingly?

Also, is there a way to have the picture change when a customer selects an item from a drop down box? Example: The product page is for a shirt. The Drop down box (Attribute) has colors (Blue, Red, Green). The customer select green, and the picture changes to a picture of the shirt in green.

I am using v1.3.8 and I have installed add-on Stock by Attribute.Are you doing a full test sale or simply looking for the stock levels to change when items are added to the cart (no checkout)?? I'm sure you can guess where I'm going with this, but stock levels won't change until the customer adds the items to the cart and then checks out..

18 Jan 2010, 7:55 PM
#807
engel003 avatar

engel003

New Zenner

Join Date:
Jan 2010
Location:
Ohio
Posts:
13
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Thanks for the quick reply...

What I am trying to figure out is if changing an attribute (drop down box) on the products page can change the units in stock on the products page so the customer can see how many we have in stock.

EX: I am selling Shirt X which has different attributes (two seperate drop down boxes - Color and Size). When a customer goes to the product page for Shirt X, he or she has to select color and size for shirt X. If they decide they want Shirt X color blue size Small, the units in stock should show how many Shirt X Blue Smalls I have in stock.

Is this possible?

18 Jan 2010, 8:30 PM
#808
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

engel003:

Thanks for the quick reply...

What I am trying to figure out is if changing an attribute (drop down box) on the products page can change the units in stock on the products page so the customer can see how many we have in stock.

EX: I am selling Shirt X which has different attributes (two seperate drop down boxes - Color and Size). When a customer goes to the product page for Shirt X, he or she has to select color and size for shirt X. If they decide they want Shirt X color blue size Small, the units in stock should show how many Shirt X Blue Smalls I have in stock.

Is this possible?Again stock levels will not change until the item is added to the cart AND the checkout is completed. The module does not display the number of units in stock.. You might want to look at the Attributes Grid module (which works with SBA) to achieve what you are trying to do..

18 Jan 2010, 9:10 PM
#809
engel003 avatar

engel003

New Zenner

Join Date:
Jan 2010
Location:
Ohio
Posts:
13
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Thanks Diva! I'll take a look at the grid mod.

19 Jan 2010, 5:43 AM
#810
silentsigma avatar

silentsigma

New Zenner

Join Date:
Sep 2009
Posts:
14
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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

20 Jan 2010, 2:08 PM
#811
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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

2 Feb 2010, 12:12 AM
#812
gomlers avatar

gomlers

Zen Follower

Join Date:
Aug 2008
Posts:
139
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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..

4 Feb 2010, 6:08 PM
#813
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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

10 Feb 2010, 12:37 PM
#814
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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

10 Feb 2010, 2:26 PM
#815
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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

10 Feb 2010, 3:51 PM
#816
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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.

10 Feb 2010, 3:58 PM
#817
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

infocom:

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? :D

Cheers
Phil
Posted via Mobile Device

10 Feb 2010, 4:07 PM
#818
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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:

10 Feb 2010, 4:16 PM
#819
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

infocom:

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:

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

11 Feb 2010, 3:39 PM
#820
cfsheridan avatar

cfsheridan

New Zenner

Join Date:
Sep 2008
Posts:
9
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

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 https://www.noquartercoffee.com