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

Results 581 to 600 of 3,609
19 Feb 2009, 2:42 PM
#581
swamyg1 avatar

swamyg1

Zen Follower

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

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

hugo13:

I made a while ago an addition

Amendments from 4.7 to 4.7ajax
added ajax functionality

* search filter: "%ma" filters all produchts with "ma" in products-name or in products-model; the search value will be stored in a cookie
* a click at the "quantity in stock" value adds an input-field & you can enter the new value; the store button saves all changed values
* added files in /ajax folder
* changed products_with_attributes_stock.php
* added products_with_attributes_stock_ajax.php

you can see it in action at :: http://demo.zen-cart.at/index.php?main_page=page&id=26

download the test version at :: http://demo.zen-cart.at/images/products_with_attributes_stock_4.7.ajax.zip

WOW you are a lifesaver! This makes everything a breeze... thanks so much for sharing this!!!

19 Feb 2009, 3:03 PM
#582
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 do need help with one last thing. I know it's been addressed several times but I cannot find the solution. I would like to show either:

  1. on the product info page "out of stock" next to each attribute in the dropdown.

OR

  1. Not allowing customer to add item to cart if no quantity for selected attribute. We could give them a message before they reach the cart.

Say I have 5 attributes for my product but 4 are out of stock... does a customer have to go back and forth adding each attribute until they find the one in stock? Sounds like a big guessing game.

Is there a solution for this? I can't seem to find it.

20 Feb 2009, 1:00 AM
#583
cjeb456 avatar

cjeb456

New Zenner

Join Date:
Feb 2009
Posts:
23
Plugin Contributions:
0

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

Hi all,

I have just downloaded this mod (not yet installed) and I just wanted to check something

I am using the super orders mod

I see that the attribute stock mod changes the following files
admin/orders.php
includes/classes/order.php

I dont think I am using these files anymore because of super orders

Does anyone know if this mod is compatible with super orders and if so what I would need to change from the default install instructions?

Thanks

20 Feb 2009, 1:12 AM
#584
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

cjeb456:

Does anyone know if this mod is compatible with super orders and if so what I would need to change from the default install instructions?Probably not out of the box. I'm not a Super Orders expert so I don't know if there's anything in there that uses stock in a way that's fundamentally incompatible with Stock by Attributes. If not you would need to identify the changes that each mod has made and merge them together to create a composite mod that includes the functionality for both.

22 Feb 2009, 3:54 AM
#585
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

hugo13:

I made a while ago an addition

Amendments from 4.7 to 4.7ajax
added ajax functionality

* search filter: "%ma" filters all produchts with "ma" in products-name or in products-model; the search value will be stored in a cookie
* a click at the "quantity in stock" value adds an input-field & you can enter the new value; the store button saves all changed values
* added files in /ajax folder
* changed products_with_attributes_stock.php
* added products_with_attributes_stock_ajax.php

you can see it in action at :: http://demo.zen-cart.at/index.php?main_page=page&id=26

download the test version at :: http://demo.zen-cart.at/images/products_with_attributes_stock_4.7.ajax.zip

I actually ran into a problem with this... when clicking the dynamic field to enter the quantity, it's not saving to my database. When "editing quantity" the standard way, the value gets saved.

Any idea why this would be happening?

22 Feb 2009, 1:28 PM
#586
hugo13 avatar

hugo13

Zen Follower

Join Date:
Apr 2004
Location:
vienna
Posts:
176
Plugin Contributions:
4

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

swamyg1:

I actually ran into a problem with this... when clicking the dynamic field to enter the quantity, it's not saving to my database. When "editing quantity" the standard way, the value gets saved.

Any idea why this would be happening?

  • a click at the "quantity in stock" value adds an input-field & you can enter the new value; the store button saves all changed values

is there any error/message when you hit the "store button"; if you use admin-profiles, you must grant permission to 2 products with attributes stock-files

22 Feb 2009, 9:35 PM
#587
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

killertofu:

Interesting problem, looking for answer. I love this addon, and thank the developer(s) for their hardwork.

I have been using this for a while, and worked perfectly. However, on one of my new products, I was going in to change the quantities of stock when it duplicated the variant. Now I have two variants for Green/Small. It seems to be only happening with this color, so I tried to delete the color and re-add the value (Luckily its localized to this one product :laugh:), but it still duplicates the variant when I try to go and edit the quantity.

Any thoughts?:wacko:

Hi Hugo (and Kurio)... after much testing, it looks like it ist storing to the DB, but I'm having the same problem killertofu was in post 484. He never responded with more information... it's happening to me with more than one product, but all in the same category.

22 Feb 2009, 9:52 PM
#588
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

Here's a screen of what's actually happening in the DB... After editing the quantity of stock ID 126, stock ID 128 was created:

5 Mar 2009, 12:02 PM
#589
arquetipo avatar

arquetipo

New Zenner

Join Date:
May 2008
Posts:
20
Plugin Contributions:
0

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

Hello I installed stock by attributes but when I buy products that are out of stock, the cart still lets me buy them.

I've chequed files and the database, and everything seems to be ok...

Please Help.

5 Mar 2009, 12:26 PM
#590
arquetipo avatar

arquetipo

New Zenner

Join Date:
May 2008
Posts:
20
Plugin Contributions:
0

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

Maybe if I reinstall the sql tables it will fix, how do I unistall the sql patch to install it again?
Trying everything.

7 Mar 2009, 8:21 PM
#591
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

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

swamyg1:

I do need help with one last thing. I know it's been addressed several times but I cannot find the solution. I would like to show either:

  1. on the product info page "out of stock" next to each attribute in the dropdown.

OR

  1. Not allowing customer to add item to cart if no quantity for selected attribute. We could give them a message before they reach the cart.

Say I have 5 attributes for my product but 4 are out of stock... does a customer have to go back and forth adding each attribute until they find the one in stock? Sounds like a big guessing game.

Is there a solution for this? I can't seem to find it.
Same question, I've been looking for a solution to this very same problem for a very long time.

Does anyone know a way of modifying the code in the php files so that attributes with stock level=0 are automatically hidden or even deleted?

It's a mammoth task to manually disable/delete attributes every time a particular size for a particular item goes out of stock. Similarly, it's a total sale killer if a customer has to click back and forth just to see what's in stock!

Has anyone figured out which part of the code could be manipulated to achieve automation?

There is a setting in the admin>configuration>dynamic drop downs called "Show Out of Stock Attributes". I have tried setting this to False and I have tried setting it to True. Neither option has any effect on out of stock attributes so what is this setting even for?

HELP :-)

7 Mar 2009, 9:05 PM
#592
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

limelites:

Same question, I've been looking for a solution to this very same problem for a very long time.

Does anyone know a way of modifying the code in the php files so that attributes with stock level=0 are automatically hidden or even deleted?

It's a mammoth task to manually disable/delete attributes every time a particular size for a particular item goes out of stock. Similarly, it's a total sale killer if a customer has to click back and forth just to see what's in stock!

Has anyone figured out which part of the code could be manipulated to achieve automation?

There is a setting in the admin>configuration>dynamic drop downs called "Show Out of Stock Attributes". I have tried setting this to False and I have tried setting it to True. Neither option has any effect on out of stock attributes so what is this setting even for?

HELP :-)

I worked on this for a while and found this solution using the Dynamic drop down mod.

I'm using it here in my store.

But I'm having a major problem, my customers are finding it very confusing by not displaying them all options up front. This mod only displays options for quantites that are in stock. Some of my customers don't even see the "first select" "then select" options so they don't know what to do.

I'm thinking of killing this mod and just having customers go to the cart, so it's a total crapshoot as to what might be in stock. NOT IDEAL.

I would really like this mod to work, but not at the expense of the user experience. Has anybody come up with another solution or can anybody suggest what we should do to fix this?

7 Mar 2009, 9:33 PM
#593
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

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

I'm also using the dynamic drop down mod... however it does not seem to work at all.

As I said, there is a setting in the admin>configuration>dynamic drop downs called "Show Out of Stock Attributes". I have tried setting this to False and I have tried setting it to True. Neither option has any effect on out of stock attributes so what is this setting even for?

Can you tell me what your problem with this mod is? I've browsed your site and can't see any out of stock product attributes... isn't it working perfectly for you?

Did you manage to find a way for an attribute with qty=0 to disable automatically?

9 Mar 2009, 6:48 AM
#594
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

limelites:

I'm also using the dynamic drop down mod... however it does not seem to work at all.

As I said, there is a setting in the admin>configuration>dynamic drop downs called "Show Out of Stock Attributes". I have tried setting this to False and I have tried setting it to True. Neither option has any effect on out of stock attributes so what is this setting even for?

Can you tell me what your problem with this mod is? I've browsed your site and can't see any out of stock product attributes... isn't it working perfectly for you?

Did you manage to find a way for an attribute with qty=0 to disable automatically?

Well, I think you have it configured correctly. At least this is how I have it configured:

Product Info Single Attribute Display Plugin > Multiple Dropdowns
Product Info Multiple Attribute Display Plugin > sequenced_dropdowns
Show Out of Stock Attributes > True
Mark Out of Stock Attributes > None
Display Out of Stock Message Line > True
Prevent Adding Out of Stock to Cart > True

I'm using the Ajax Stock attributes mod, I have 3 attributes which are not reflecting my stock... it just shows the stock unavailable by not displaying the option. That's my problem, I'm still trying to figure it out. I've tried deleting the attributes and readding them, that doesn't seem to work. I suppose the user experience is fine, I really have no other choice at the moment.

I don't think the dynamic dropdown mod is very complete. It seems to work, but it might have bugs with no support. I might be experiencing one of those bugs, I can send you the files I'm using if you PM me your email addy.

18 Mar 2009, 7:46 PM
#597
triollc avatar

triollc

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

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

is there a way for the individual stock qty to show for the different attributes of the product.

eg; product = tshirt qty 20 total
red tshirt = qty 10
blue tshirt = qty 10

25 Mar 2009, 1:54 PM
#598
lizord avatar

lizord

New Zenner

Join Date:
Mar 2009
Posts:
12
Plugin Contributions:
0

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

I searced and i can't seem to find a step-by-step install process for stocks by attributes. I'm a new to this and i catch on pretty quick, but i can't seem to figure this out. How do i create a table? Is there a thread that has a step-by-step instruction on how to install? thanks!

25 Mar 2009, 2:55 PM
#599
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

triollc:

is there a way for the individual stock qty to show for the different attributes of the product.

eg; product = tshirt qty 20 total
red tshirt = qty 10
blue tshirt = qty 10Yes but it involves custom coding. Search for "Grayson"

25 Mar 2009, 2:57 PM
#600
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

lizord:

I searced and i can't seem to find a step-by-step install process for stocks by attributes. I'm a new to this and i catch on pretty quick, but i can't seem to figure this out. How do i create a table? Is there a thread that has a step-by-step instruction on how to install? thanks!They're in the installation section of the readme file that comes in the add-in package.