Forums / All Other Contributions/Addons / Stocks by attributes

Stocks by attributes

Locked
Results 1 to 20 of 1,126
This thread is locked. New replies are disabled.
09 May 2006, 22:15
#1
howdoin avatar

howdoin

New Zenner

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

Stocks by attributes

I read all the info in the archive forums and cannot figure out if it can do what I want:

I did install the Contribution (thank you for making it) and am now testing it, however I have the same problem as many other people:

- when a size or color (I sell clothes) is out of stock the unavailable color/size still shows on the product page, people can still add it to their cart and it is only there that they have an "out of stock" message.

Would it be possible to have a check on availability to only display a color/size when it is in stock. For example:

a person would need to first pick their color and the size drop-down menu would then automatically display ONLY available sizes. Pick another color and "hop" the size drop-down box automatically displays whatever sizes are available for that color.


Another suggestion:
- could we have the contribution work directly on the product page, i.e. add the attributes from the product page and with the possibility to modify stocks directly for all (vs. 1 by 1). I guess it would look something like this:

Red:
S = X
M = X
L = X
XL = X

Where X would be a box where we can manually update the stock level at once.


PS: feel free to see my site for practical exemple: www.saintjamesboutique.com (look at style Lille in size 10 for example).


PPS: I need a solution implemented ASAP and would gladly hire someone to help me out with that.
11 May 2006, 13:29
#2
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Stocks by attributes

howdoin:


Would it be possible to have a check on availability to only display a color/size when it is in stock. For example:

a person would need to first pick their color and the size drop-down menu would then automatically display ONLY available sizes. Pick another color and "hop" the size drop-down box automatically displays whatever sizes are available for that color.



Where do I have read that before? =) You are not the only one who wants this feature. But thats not possible at this time. Making that would involve a lot of work, some guys suggested AJAX to autopopulate dropdown menus depending on the opcion picked.

So in the meantime, letting the users click back once they are in the shopping cart is the only way.
16 May 2006, 03:56
#3
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

Hey all you Product by Attribute Stock Worshippers,

Figured I'd start out this new thread w/ a link to the archived thread. Here it is:

http://www.zen-cart.com/forum/showthread.php?t=25987

(Is it obvious I'm avoiding finishing that upgrade?):shocking:

Audra
16 May 2006, 04:11
#4
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

Thanks for the reply audra but thats not what I'm asking for. I want the stock for attributes to be autopopulated with 0, this meaning that I don't have to open every single variant of a product but only the ones I actually have in stock.

I might sound lazy but having approx. 2000 products with attributes (an average of 5 attributes/product) will give me alot to do just inserting variants.

I'm just running a small business where the majority of my products are available at suppliers.

Pre-filling the variants with 0 would help me out alot!


Hey Svanis,
I'm not sure why you would need this. If you do not set up a variant in Catalog->Product with Attributes Stock then it assumes quantity=0 from a functionality standpoint in the catalog. In other words, doing nothing will lead to an Insufficient Stock message in the customers shopping cart. Am I still missing the boat?:lookaroun

Audra
16 May 2006, 04:21
#5
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

Curious if anyone else uses PWAS with the Froogle mod and has run into the trouble of Froogle denying feeds because of out of stock items.

I had to go in and delete all the variants w/ zero quantity (or manually edit my feed) in order to get it accepted by Froogle. I hate to do that because those zero quantities gave me a nice place to quickly scan for out of stocks when reorder time came around. It may be significant that it was my first Froogle submission. I know they pay more attention the first time around.

I'm also wondering if anybody has looked at generating stock level reports based on this mod. Any thoughts?

Audra, who has taken up more than her allotted space in this thread already:D
19 May 2006, 17:04
#6
danielcor avatar

danielcor

New Zenner

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

Re: Stocks by attributes

I am in need of the latest version of this mod.

The one I can find on the previous thread is quite old. I need this mod urgently on my 1.3.01 store, because I can't go live without it. We sell MANY products that are sold by attribute.

I will certainly post the updates after I have made it work.

If you are working on an update, I am happy to finish it for you. I really don't want to re-invent the wheel.

Thanks for your assistance.

- Daniel
19 May 2006, 18:01
#7
svanis avatar

svanis

Zen Follower

Join Date:
May 2005
Posts:
145
Plugin Contributions:
0

Re: Stocks by attributes

Is it possible to resync all variants in one click?
21 May 2006, 01:17
#8
svanis avatar

svanis

Zen Follower

Join Date:
May 2005
Posts:
145
Plugin Contributions:
0

Re: Stocks by attributes

Al right!
Now I'm bangin my head against the wall!

This contrib has been working fine for me so far, but now I've started fiddeling around with multiple attributes.

Say for instance that I'm trying to add the following:

A red t-shirt available in S, M, L, XL
And the same sizes for a green t-shirt.

I add the variants but end up with attributes showing as

Color:
Red [ In stock ]
Red [ In stock ]
Red [ In stock ]
Red [ In stock ]
Green [ In stock ]
Green [ In stock ]
Green [ In stock ]
Green [ In stock ]


Size:
An empty radiobox. (!?!)

I'm about to start cursing but I think I'll just go and slam my head in a pillow and scream for the top of my life!

As I understand, there are people actually using this for multiple attributes. Right?

/Svanis
21 May 2006, 06:06
#9
mikex avatar

mikex

New Zenner

Join Date:
Mar 2006
Posts:
31
Plugin Contributions:
0

Re: Stocks by attributes

Svanis:

Al right!
Now I'm bangin my head against the wall!

This contrib has been working fine for me so far, but now I've started fiddeling around with multiple attributes.

Say for instance that I'm trying to add the following:

A red t-shirt available in S, M, L, XL
And the same sizes for a green t-shirt.

I add the variants but end up with attributes showing as

Color:
Red [ In stock ]
Red [ In stock ]
Red [ In stock ]
Red [ In stock ]
Green [ In stock ]
Green [ In stock ]
Green [ In stock ]
Green [ In stock ]


Size:
An empty radiobox. (!?!)

I'm about to start cursing but I think I'll just go and slam my head in a pillow and scream for the top of my life!

As I understand, there are people actually using this for multiple attributes. Right?

/Svanis



Did you add the option values for "Size"? You have to do it before adding variants. Go to Catalog/Option Value Manager and, there, add S, M, L, XL.
21 May 2006, 08:59
#10
skyxliner avatar

skyxliner

New Zenner

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

Re: Stocks by attributes

so does this mod work with the newest zencart or does it not?!?!

i need this option as well.
05 Jun 2006, 04:00
#11
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

No, it breaks 1.3.x. I believe there are some folks out there attempting to get it working though.
04 Jul 2006, 21:54
#12
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

It's here!

danielcor has gotten this mod working w/ Zen Cart v1.3+

I think we all know who wins the popularity award for today!:thumbsup:

He has sent me the changed files. I finally got a clean version of Zen Cart 1.3.0.2 loaded up, installed the mod successfully, and packaged it all up with a nice little bow. I am going to email it back to him for final approval before submitting to the downloads section, but anybody who is foaming at the mouth to get this is welcome to email/pm me for a copy. If I get the chance I will put up a download, but right now the family is giving me the evil eye:smile:

Audra
04 Jul 2006, 22:13
#13
woodlandsprite avatar

woodlandsprite

Zen Follower

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

Re: Stocks by attributes

audradh:

It's here!

danielcor has gotten this mod working w/ Zen Cart v1.3+

I think we all know who wins the popularity award for today!:thumbsup:

He has sent me the changed files. I finally got a clean version of Zen Cart 1.3.0.2 loaded up, installed the mod successfully, and packaged it all up with a nice little bow. I am going to email it back to him for final approval before submitting to the downloads section, but anybody who is foaming at the mouth to get this is welcome to email/pm me for a copy. If I get the chance I will put up a download, but right now the family is giving me the evil eye:smile:

Audra


WAHOO! :D Thanks go both yourself and Danielcor!

I've PM;d you ;) just call me Foamy!
05 Jul 2006, 04:51
#14
woodlandsprite avatar

woodlandsprite

Zen Follower

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

Re: Stocks by attributes

Am planning on an install attempt tomorrow - question though - where does the fix_cache_key.php document go?

And any idea if this works with the Improved attributes controller mod?

:D thanks again! I'm sure I'll be back ;)
05 Jul 2006, 14:08
#15
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

fix_cache_key.php goes directly in the store root. So, if your store is in /catalog it will go there. My store is directly in public_html, so it went in /public_html.

And any idea if this works with the Improved attributes controller mod?


No idea. I do have a clean copy of Zen 1.3.0.2 with no mods except this, so I could try adding the Improved attributes controller to it and see what happens. I won't get to that today though.

Best,
Audra
05 Jul 2006, 16:26
#16
woodlandsprite avatar

woodlandsprite

Zen Follower

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

Re: Stocks by attributes

audradh:

fix_cache_key.php goes directly in the store root. So, if your store is in /catalog it will go there. My store is directly in public_html, so it went in /public_html.


Got it. Thanks :)


No idea. I do have a clean copy of Zen 1.3.0.2 with no mods except this, so I could try adding the Improved attributes controller to it and see what happens. I won't get to that today though.

I will suspect that they won't work together as they both modify the attribute_controller.php file...



Best,
Audra[/QUOTE]
05 Jul 2006, 16:52
#17
bunster avatar

bunster

New Zenner

Join Date:
Jan 2006
Posts:
40
Plugin Contributions:
0

Re: Stocks by attributes

Hi Audradh

I've PM'd you, any chance of a copy this to test?

cheers

Rich
05 Jul 2006, 18:53
#18
papacek avatar

papacek

New Zenner

Join Date:
Jan 2006
Posts:
14
Plugin Contributions:
0

Re: Stocks by attributes

Hi, can you send me a copy?
Thanks

[email protected]
05 Jul 2006, 19:03
#19
woodlandsprite avatar

woodlandsprite

Zen Follower

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

Re: Stocks by attributes

Comment on the sql update included in the package.
The first line to create the table says:

CREATE TABLE `zen_products_with_attributes_stock` (

If your sql database automatically ammends with zen_ then you will wind up with a table called:
zen_zen_products_with_attributes_stock

I assume the module is looking for a table called:
zen_products_with_attributes_stock

so i have deleted the 1st table created and recreated a new one with only one zen_

Haven't gotten any further with the install yet though to confirm.
05 Jul 2006, 21:20
#20
woodlandsprite avatar

woodlandsprite

Zen Follower

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

Re: Stocks by attributes

woodlandsprite:



I will suspect that they won't work together as they both modify the attribute_controller.php file...



FYI, a winmerge comparison indicates that the attribute_controller used in this mod matches that of the improved attributes controller :) so it seems they are indeed compatible :)