Forums / All Other Contributions/Addons / Stock For Product With Different Attributes (OLD)

Stock For Product With Different Attributes (OLD)

Locked

Started by dafonz on 30 Nov 2005, 8:52 PM · Views: 80,867

Results 141 to 160 of 273
This thread is locked. New replies are disabled.
17 Feb 2006, 12:26 AM
#141
cslhypnotech avatar

cslhypnotech

Zen Follower

Join Date:
Aug 2005
Posts:
133
Plugin Contributions:
0

Stock For Product With Different Attributes (OLD)

grayson:

Yahaira - no, it won't fix the display of stock for dropdown menu attributes. It fixes a problem with text and file attributes, which don't have any associated quantity, and therefore were not being selected by the SQL query I used.
Does this affect those who opted to use the instock/outofstock instead of displaying quantities? What do you mean by text attribute? I figure file attributes means for a downloadable file?

17 Feb 2006, 12:39 AM
#142
mikeyg avatar

mikeyg

Totally Zenned

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

Re: Stock For Product With Different Attributes (OLD)

Hi,

This is a great module and some really good stuff in this thread.

I have a of question.

If you do not set up a product variant with stock but someone goes and purchases something with a variant is it possible to get the table to update and put in -1 in stock.

At the moment from having tested this my understanding is that the main stock quantity gets deleted but nothing added to / created in the variant table to identify this.

This would avoid setting up every product and variant with zero stock to get this mod recording everything.

I do not necessarily hold stock of all items at the moment but this would be a great feature to help with stock check/back order tracking.

Thanks

MG

17 Feb 2006, 5:48 AM
#143
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Hi guys, I dont see many girls around here!

I have been reading all these posts, and Ive successfully installed the mod. ;)

My problem is that in my products Variant cell it appears a :

And when I clic on Add Quantity For Product Variant to add a new product variant, it appears a display menu with these options, repeated many times: (+$0).

What does that mean? I have a tshirts store, and I just want to see sizes and colors as variants, but I only see :

Can Anyone please help me out, Im new to all this stuff!

Thanks a looooooot! :rolleyes:
Mya

PD. I apologize, because Im sure my question is silly.

17 Feb 2006, 5:57 AM
#144
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

OK, I just solved my prob.

It was because I have configured a second language, and when I added my products attributes, I didnt give them a name in english. So I just did that!

:P Thanks anyway!
Mya

17 Feb 2006, 6:32 AM
#145
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Ok, this time I really need your help, guys!

In the beggining, I was getting negative numbers in my inventory after someone selected more items than available in stock.

So, as I read here, I went to Configuration/Stock/Allow check Out, and switch it to false. That was enough to avoid people could go beyond the shopping cart.

My problem is that, they dont receive an error message when they try to continue after the shopping cart. When users press the continue button, the page only refreshes. Id like that it would appear a message telling them something like "theres no enough quantity, please change your amount".

Is that possible, anyone could help me, please!

Thanks,
Mya :huh:

17 Feb 2006, 8:56 AM
#146
grayson avatar

grayson

Totally Zenned

Join Date:
Oct 2005
Location:
Netherlands
Posts:
516
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

cslhypnotech:

Does this affect those who opted to use the instock/outofstock instead of displaying quantities? What do you mean by text attribute? I figure file attributes means for a downloadable file?
csl, there is no difference here between displaying the quantity or displaying a different text.

The problem was as follows:

There are six types of attributes: FILE, READONLY, TEXT, DROPDOWN, CHECKBOX, and RADIO.

TEXT attributes are for entering things like text to be printed out on your T-shirt. They don't have a quantity, and so they don't get stored in the new products with attributes stock table in the database. My new query therefore did not pull those kinds of attributes out of the database because one of the query conditions compared a key in the attributes stock table to a key in one of the other tables.

What my fix does is restore the original query for TEXT attributes, so they get pulled out of the db and thus displayed. I restored the original query for FILE and READONLY attributes too, on the theory that these also don't have quantity. But I've never used either of those, so if that's incorrect, it's easily fixed :).

17 Feb 2006, 8:58 AM
#148
grayson avatar

grayson

Totally Zenned

Join Date:
Oct 2005
Location:
Netherlands
Posts:
516
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

studmuffin:

hmmmz

any ideas....i'm at a loss :(

x ::frust
Studmuffin, why don't you walk through the entire installation process for this mod once more, using a file compare tool to look at the original mod files versus your current files, and see if there's something off somewhere.

17 Feb 2006, 9:07 AM
#149
ringy avatar

ringy

New Zenner

Join Date:
Dec 2005
Posts:
62
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Really getting to grips with this now.....it's great to see such a helpful forum - thanks guys and girls! ::tup

Grayson, going back to your product example in your store, how did you display a swatch (and I assume any image I wish) next to the attribute details? I have looked at the product info template and cannot figure out how to modify this :blink: Also, I want to list the attributes vertically as radios rather than horizontally as you have done.

Cheers!
Ringy (not a girl!)

17 Feb 2006, 9:16 AM
#150
grayson avatar

grayson

Totally Zenned

Join Date:
Oct 2005
Location:
Netherlands
Posts:
516
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Ringy, when you define your option names for attributes, you can specify the attribute style (for each language independently, by the way).

Go to Admin::Catalog::Option Name Manager and click on edit next to an option for which you want to change the display. You'll see a gray box below it. At the bottom of the box is an explanation of the different styles you can use for images in attributes. Pick the style you want and enter that number into "Attribute Style for Radio Buttons/Checkbox". Try out a couple to see what you want.

To display them vertically, enter a 1 into "Attribute Images per Row".

You'll upload the actual swatch images for each attribute when you add the attribute to a particular product. This allows you to use the same Color: Red (for example) option name/value pair for different products, and upload a different image for each one.

Hope that helps.

17 Feb 2006, 12:24 PM
#151
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

mya:

My problem is that, they dont receive an error message when they try to continue after the shopping cart.
Mya,
Check your setting in the admin area:

Configuration->Stock->Mark Product Out of Stock

This is where you enter the text that will show in the shopping cart if there is insufficient stock.

Try ordering this shirt in size small to see how it will look:

http://www.naturewearorganics.com/index.ph...a04377061646a0f

HTH,
Audra (yet another girl :D )

17 Feb 2006, 6:23 PM
#152
ringy avatar

ringy

New Zenner

Join Date:
Dec 2005
Posts:
62
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

** Ringy, when you define your option names for attributes, you can specify the attribute style (for each language independently, by the way).**

Doh! :huh:

Thanks grayson - been spending too much time lately manipulating code that it didn't occur to me to look in the Configs!!!! :lol:

Thanks loads ::tup

18 Feb 2006, 12:17 AM
#153
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

audradh:

Mya,
Check your setting in the admin area:

Configuration->Stock->Mark Product Out of Stock

This is where you enter the text that will show in the shopping cart if there is insufficient stock.

Try ordering this shirt in size small to see how it will look:

http://www.naturewearorganics.com/index.ph...a04377061646a0f

HTH,
Audra (yet another girl  :D )
Thaaaanks a lot Audra!

I just did what you said, and that was perfect ::tup , but it didnt completely solve my problem, because the "out of stock message" only appears when the product is TOTALLY out of stock, (but not when an specific size is out of stock).

For example, if someone tries to buy a size L tshirt, and theres no L tshirts in stock, (only M y S), that user wouldnt receive an "out of stock" message. That user would only receive the "out of stock" message when all the tshirts are out of stock (L=0 M=0 S=0).

Id love that, when people try to buy by an specific attribute, that is out of stock, they would receive that error message. AH, JUST EXACTLY LIKE IN YOUR SITE:

http://www.naturewearorganics.com/index.ph...a04377061646a0f

Could you help me, please!!
Mya (girls, girls, girls!) :P

18 Feb 2006, 1:31 PM
#154
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Do you have a URL we can look at?

20 Feb 2006, 12:14 AM
#155
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

audradh:

Do you have a URL we can look at?
Of course!

http://www.mangobajito.com/compras

Its in spanish, but I guess is about the same ;)

Thanks, thanks, thanks! Sorry, Im so excited! :D
Mya

20 Feb 2006, 6:04 AM
#156
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Can you point me to a specific item that is in stock with certain attribute combinations but not in stock with others?

20 Feb 2006, 1:24 PM
#157
mya avatar

mya

New Zenner

Join Date:
Feb 2006
Posts:
16
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

audradh:

Can you point me to a specific item that is in stock with certain attribute combinations but not in stock with others?
Hi Audra! This is the link:

http://mangobajito.com/compras/index.php?m...1e9276fade413b2

Try ordering this item, not in stock:
Size: XS, Color: Amarillo = 0 items (people simply cannot go beyond the shopping cart, but they do not receive an "out of stock" message).

Items in stock:
Size: S, Color: Amarillo = 15 items
Size: M, Color: Amarillo = 10 items
Size: L, Color: Amarillo = 13 items

Id love that, when people try to buy by an specific attribute, that is out of stock, they would receive that error message.

Your site is a perfect example. When you try ordering that shirt in size small, it appears an error. But if you try ordering another size, theres no problem.

http://www.naturewearorganics.com/index.ph...a04377061646a0f

Thanks Audra!
Mya

21 Feb 2006, 4:55 AM
#158
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: Stock For Product With Different Attributes (OLD)

Well - I read the first 5 or 6 pages, and the last 5 or 6 pages... here I my questions:

Does this contrib work on the current zen cart platform? (v 1. 2.7d)

Where can I get the package with all the bug fixes rolled in?

Why does the author put "email me @" in the readme file if they don't answer their emails? ;) I mean that light-heartedly. I didn't realize this thread was here and I downloaded from the downloads section and it didn't work at all - no errors, just absolutely no method for controlling it (missing admin files I think). Someone please get me up to speed... thanks!

  • Steven
21 Feb 2006, 8:21 AM
#159
grayson avatar

grayson

Totally Zenned

Join Date:
Oct 2005
Location:
Netherlands
Posts:
516
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Hi Steven,

Yes, the contribution does work on 1.2.7. I installed it a while back, so I'm fuzzy on the details, but I don't remember any problems with the install. You should see an option under the Catalog menu in the Admin for "Products with Attributes Stock". There you should see all your products with attributes listed; you go in and manually set the stock level for each attribute. Time consuming, but nicely set up.

I think there's a new version coming out soon, or perhaps it's already out? Anyway, there's an option a page or two back in this thread for showing the stock for each individual attribute on the product info page (e.g. Red [10 units], Black [6 units], ....).

One drawback is that attributes stock doesn't get restocked if e.g. an order is cancelled, but that seems minor (at least to me; I don't have many cancellations).

22 Feb 2006, 12:01 AM
#160
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

Re: Stock For Product With Different Attributes (OLD)

That's great, but is there a link to the package? The one in downloads isn't complete - there is no admin interface (must be missing file[s]).

  • Steven