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,710

Results 1,101 to 1,120 of 3,609
23 Feb 2011, 9:26 PM
#1101
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

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

MikeyG:

I am using a text field for a product which is letters printed to the customers wish. Stock by attributes creates a stock record in the stock by attributes table, but stock is zero and always puts the out of stock message in the cart.

Is there a work around so that stock for a product with a text field like this does not show out of stock. This issue is also true if you have a mix of drop downs eg a name printed on a t-shirt. Customer chooses size of T-shirt and then enters name in a text field. Want to track the stock of the t-shirt by size but not worry about the text for the name.

Does any one else have a similar issue and is there a work around.

Another variation for my situation is products shipped direct.....never has stock but could have a choice of attributes. Again the out of stock message shows in the cart.

Thanks in advance.

I really would like some help with this too, as we have similar issue that we want to exclude certain attributes from the stock combination.

28 Feb 2011, 4:44 PM
#1102
joe3094 avatar

joe3094

New Zenner

Join Date:
Feb 2011
Posts:
4
Plugin Contributions:
0

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

balticccreations:

nope then it doesn't list how many are available nor does it let them check out if they want more than are available. Which is a good thing but they can find it to be a problem because it doesn't tell them why they can't check out. For all they know there is enough stock when in fact there isn't.

I tried adding both a product with attributes and a product without to my cart then I made the quantities higher than in stock on both and the one without showed the error I mentioned but the one with showed nothing making it look like they were available but again won't let them check out.

Hello liana,i check your site you did fix this problem and site work on SBA. I am install same with you, and i check you posted header.php code same to mine. Can you please let me know how to fix this issue? Thank you advance! if have some one can help this out, Please! please!! Please!!!

28 Feb 2011, 5:00 PM
#1103
joe3094 avatar

joe3094

New Zenner

Join Date:
Feb 2011
Posts:
4
Plugin Contributions:
0

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

balticccreations:

nope then it doesn't list how many are available nor does it let them check out if they want more than are available. Which is a good thing but they can find it to be a problem because it doesn't tell them why they can't check out. For all they know there is enough stock when in fact there isn't.

I tried adding both a product with attributes and a product without to my cart then I made the quantities higher than in stock on both and the one without showed the error I mentioned but the one with showed nothing making it look like they were available but again won't let them check out.

balticccreations:

Where is it not showing how many are in stock? your actual listings or in the shopping cart? Mine shows how many of everything is available on the listings (the full amount just not how many on the attribute items are available for each attribute).

If the product doesn't have attributes then in the cart it shows an error that says "Products marked with SOLD OUT are out of stock or there are not enough in stock to fill your order.
Please change the quantity of products marked with (SOLD OUT). Thank you" And in the shopping cart shows "SOLD OUT Stock Available: 1"
Hello, Did you fix out this issue? I check your site work great,Can you please post how? Thanks!

3 Mar 2011, 6:29 PM
#1104
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

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

I am also very frustrated by this! Please post the fix if somebody has it. The older non-ajax version worked perfectly for me.

It seems the only way to fix this is to "sync quantities" when you update stock, or is there something else I'm missing?!

5 Mar 2011, 3:44 PM
#1105
briann avatar

briann

New Zenner

Join Date:
Dec 2008
Posts:
28
Plugin Contributions:
0

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

First of all: thanks for the add-on!

After trying and searching for many hours, I still haven't found out the following:

Only one attribute is used, which is the size. However, we should add all different variants by hand. Is there a way to do this automatically? (default stock is 0)
We would need this because of the fact that if there's no variant specified, stock won't be decreased correctly.

Is there something I haven't realised/seen?

Many thanks in advance.
Keep up the good work!:clap:

7 Mar 2011, 6:04 PM
#1106
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

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

joe3094:

Hello, Did you fix out this issue? I check your site work great,Can you please post how? Thanks!

I would like to know too. I tried to follow it through the thread but I am a little lost what the final solution was and which files etc. If someone could put the final solution with the actual files to edit that would make it super easier for everyone.

As not showing the actual stock level for the attribute at the shopping cart for the product and attribute that is low in stock is very frustrating and I would like to know the solution so I can stop getting emails from our customers - thanks!

Ideally it would be great to show the stock levels in the product page but I understand this is an issue due to combination issues - an ajax would make this available I would think!

7 Mar 2011, 7:35 PM
#1107
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

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

hello all

I've got a problem whereby the stock is not subtracted from the attribute - but is subtracted from the main products stock level. I'm using 1.3.9h and PWAS 4.7 Ajax.

The shop has a colour attributeand a size attribute. I've tested products that have two attributes and products that have one and and neither deducts stock from the attribute - only the main products record.

Can someone steer me in the right direction? Or is the solution is to move to the v5.0 Beta of this.

Thanks, Andy

7 Mar 2011, 7:45 PM
#1108
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

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

well - would you believe it - the PWAS 4.7 Ajax package doesn't include the classes directory or the orders.php class file... so I'll find that from an older version and just hope it works....

7 Mar 2011, 8:07 PM
#1109
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

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

Yep - that was the problem... this mod should take minutes to install but has cost me hours!

8 Mar 2011, 3:44 AM
#1110
wyocraft avatar

wyocraft

New Zenner

Join Date:
Dec 2008
Location:
Cheyenne WY
Posts:
25
Plugin Contributions:
0

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

Ok, So I have installed the Stock by attribute on my site 2 times now and had to remove it 2 times. What the Heck!!!

So here is whats going on.

I have zen 139h, a simple template I bought from Template Warehouse a canned one that is sold all over, nothing special, I changed up the background and a few other things but nothing special.

So here is my problem

Lets say I have 2 products, 1 with attribute small, medium and large, and another product that has no attribute. the product without the attribute has 3 instock and the one with attribute has 2 of each size instock. I think I have it all setup correctly but here is what happens. I add the product WITHOUT the attribute to the cart and update it to 4, it never flashes red *** and lets me check out and the 4th item is backorded. Now if I add a small item from the one with the attribute then add 4 of the product without the atribute it shows the out of stock warning. I delete the one with the attribute and the warning goes away on the one without.

So do I have to assign attributes to every item even if there is only one type or is there a fix to this. I have spend about 10 hours trying to get a clear answer to fix my problem.

Thanks

15 Mar 2011, 6:40 PM
#1111
saddlebred avatar

saddlebred

Inactive

Join Date:
Nov 2006
Posts:
56
Plugin Contributions:
0

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

I've just upgraded my site from 1.3.7 to 1.3.9h and this add-in from 1.4.6 to 1.4.12 and received the following error when I click on the link for stock by attributes under catalog. [select * from products_with_attributes_stock where products_id="66" order by sort ASC;] If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields. I followed the upgreade instructions which stated that I need only replace the files, not make any database upgreades. What do I need to do? Thanks

15 Mar 2011, 6:55 PM
#1112
saddlebred avatar

saddlebred

Inactive

Join Date:
Nov 2006
Posts:
56
Plugin Contributions:
0

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

Please ignore my last message. It appears the upgrade instructions didn't include the information about the database upgrade. I have applied the sql patch and things appear to be working correctly.

16 Mar 2011, 12:20 AM
#1113
theautomator avatar

theautomator

New Zenner

Join Date:
Nov 2010
Posts:
8
Plugin Contributions:
0

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

In the Readme, it asks me to find a folder in Includes/Modules called YOUR_TEMPLATE. This folder is not in the .zip file in any of the versions I have tried on this page:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=310

I have installed it all, barring that step, according to the directions and the "Products with Attributes Stock" never appears in the "Catalog" menu, nor on the page of links if I click it.

I believe the folder in Modules is supposed to be there and adds the functionality to the admin panel.

Any reason why I can't seem to locate this folder that is supposed to belong?

16 Mar 2011, 4:15 AM
#1114
artrat avatar

artrat

New Zenner

Join Date:
Aug 2007
Location:
NY
Posts:
26
Plugin Contributions:
0

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

I think the "YOUR_TEMPLATE" file was a way to add the quantity on the products page, so a customer could see how many items were available at the attribute level. Somewhere in the 112 pages of this thread, there was the code to do this. It only works with a few options, like radio button attributes, and will not work for some others, like drop down attribute style - (i think) - I'm not sure that the specified file in "YOUR_TEMPLATE" ever really existed in an actual contribution. I think I recall it just being hacked code added to this (or some other) thread.

16 Mar 2011, 12:35 PM
#1115
theautomator avatar

theautomator

New Zenner

Join Date:
Nov 2010
Posts:
8
Plugin Contributions:
0

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

ArtRat:

I think the "YOUR_TEMPLATE" file was a way to add the quantity on the products page, so a customer could see how many items were available at the attribute level. Somewhere in the 112 pages of this thread, there was the code to do this. It only works with a few options, like radio button attributes, and will not work for some others, like drop down attribute style - (i think) - I'm not sure that the specified file in "YOUR_TEMPLATE" ever really existed in an actual contribution. I think I recall it just being hacked code added to this (or some other) thread.

I see. It is in the README as part of the instructions.

I have ran the SQL script and confirmed that the table was created, as well as the other fields modified. I have uploaded the Includes folder to the main directory of my ZC installation where the original Includes folder resides.

I uploaded both the Admin and AJAX folders to the main directory of my site as well. Do these need to go somewhere else?

I am not getting the menu option 'Products with Attributes Stock' in the 'Catalog' menu after the installation.

16 Mar 2011, 2:14 PM
#1116
artrat avatar

artrat

New Zenner

Join Date:
Aug 2007
Location:
NY
Posts:
26
Plugin Contributions:
0

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

TheAutomator:

I uploaded both the Admin and AJAX folders to the main directory of my site as well. Do these need to go somewhere else?

I am not getting the menu option 'Products with Attributes Stock' in the 'Catalog' menu after the installation.

the files in the admin folder must be uploaded to your corresponding admin folder (which you should have renamed for security reasons)

16 Mar 2011, 3:05 PM
#1117
theautomator avatar

theautomator

New Zenner

Join Date:
Nov 2010
Posts:
8
Plugin Contributions:
0

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

ArtRat:

the files in the admin folder must be uploaded to your corresponding admin folder (which you should have renamed for security reasons)

Where is that located by default?

16 Mar 2011, 5:25 PM
#1118
theautomator avatar

theautomator

New Zenner

Join Date:
Nov 2010
Posts:
8
Plugin Contributions:
0

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

I'm running 1.3.9h, btw.

17 Mar 2011, 11:48 AM
#1119
theautomator avatar

theautomator

New Zenner

Join Date:
Nov 2010
Posts:
8
Plugin Contributions:
0

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

Nevermind, got it! Thanks for the help :)

20 Mar 2011, 7:48 AM
#1120
manx avatar

manx

New Zenner

Join Date:
Mar 2011
Posts:
6
Plugin Contributions:
0

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

I have just installed the stock by attribute addon and am now having issues when I go to the checkout from the shopping cart screen.

It is throwing the following error:-

HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred. Detailed Error Information
Module IsapiModule
Notification ExecuteRequestHandler
Handler Plesk_Handler_0-571690839
Error Code 0x00000000
Requested URL http://meyersmanx.com.au:80/ManxShop/index.php?main_page=checkout_shipping
Physical Path d:\inetpub\vhosts\meyersmanx.com.au\httpdocs\ManxShop\index.php
Logon Method Anonymous
Logon User Anonymous

I have identifed that this happens when I copy the header_php.php file into /includes/modules/pages/checkout_shipping directory. If I reinstate the original file, the check out works fine.

I am running Zencart 1.3.9h

Am I missing something?