Attributes quantity box

Results 1 to 18 of 18
22 Nov 2013, 22:07
#1
bobdog avatar

bobdog

Totally Zenned

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

Attributes quantity box

Hi All,

Been a few years since I've had a question.

I'm setting up attributes, but when I check the product page it says 'sold out' and I cannot get a quantity box next to the attribute. Where am I going wrong?

Thanks
22 Nov 2013, 22:09
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Attributes quantity box

You've installed the Stock By Attributes mod ?
22 Nov 2013, 23:49
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Attributes quantity box

stevesh:

You've installed the Stock By Attributes mod ?


I thought a majority of such versions of SBA were programmed to pass on the main stock to the attribute if the attribute wasn't specifically stocked. So wouldn't it be something like no stock quantity added, or that shop doesn't allow ordering when out of stock/back ordering?
23 Nov 2013, 12:43
#4
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

I don't have stock by attributes installed. It would seem that I have no stock quantity. and I can't find where to add that. Pretty much want it to always be in stock.
23 Nov 2013, 13:42
#5
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

Maybe I should clarify. We sell ink cartridges. They come in different colors. And I'm using checkboxes. So we need

[stock number] [checkbox] [black] [$xx.xx] [qty box]
[stock number] [checkbox] [blue] [$x.xx] [qty box]
[stock number] [checkbox] [green] [$xx.xx] [qty box]

etc.

and then add to cart button.
23 Nov 2013, 13:48
#6
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

Hmm, me peeks in configuration > stock. :blush:

So I have a checkout now. How can I add a qty box to the attribute?
23 Nov 2013, 14:11
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Attributes quantity box

bobdog:

Hmm, me peeks in configuration > stock. :blush:

So I have a checkout now. How can I add a qty box to the attribute?

Can you elaborate on. What you want a quantity box on the attribute? Are you wanting to tell the customer how many black cartridges you have, how many cyan, etc... (Stock-by-attributes) Or are you wanting the customer to tell you how many of each of those they want to purchase? (Patience while they add each item type to the cart.)

By the way, don't know if you found where to tell ZC how many of something you have, but quantity of a product is found on the data entry page for the product (admin side). Otherwise you can tell ZC sell no matter what, etc...
23 Nov 2013, 15:16
#8
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

thanks for the reply. I need the customer to be able to specify how many of each cartridges he wants. Like, 1 black and 2 yellow, add to cart.
23 Nov 2013, 15:42
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Attributes quantity box

bobdog:

thanks for the reply. I need the customer to be able to specify how many of each cartridges he wants. Like, 1 black and 2 yellow, add to cart.


Um, this method is not the typical ZC style of product selection. There are ways to get what you want ultimately or in some way, buut here's thing. An attribute, is sort of like an add-on. Each type of attribute means. Something different and serves a different function. And then there is a list of items.

So, when looking at the product page itself, selecting the add to cart button takes all the information associated with that one product and adds it to the cart. The default is to deal with a single product that has multiple attributes. Your asking to add multiple products as attributes. Is possible, but requires some custom coding.

Typically what one. Would see is a drop down or a bulleted list, so cuustomer would select black and then add x quantity, then return to yellow and add y quantity. Or some stores will list each type of cartridge (item) as it's own product, that way once in the appropriate category could select different quantities of each and add all to the cart at once.

The custom code would need to uniquely identify each quantity box, then cycle through those quantity boxes to add each attribute to the cart. Probably, already a plug-in developed, but I don't know what it is. Essentially wanting to add to cart by attribute. (This is different than monitoring the quantity of product available to customer by attribute. )
23 Nov 2013, 15:53
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Attributes quantity box

So it's not your stock you want to track ? Take a look at this:

http://www.zen-cart.com/downloads.php?do=file&id=618

I haven't used it.
23 Nov 2013, 16:24
#11
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Attributes quantity box

stevesh:

So it's not your stock you want to track ? Take a look at this:

http://www.zen-cart.com/downloads.php?do=file&id=618

I haven't used it.


I also have not looked at that package, ######## if as it says it only works with drop downs and button type selections, you would need to have an option name for each each color and one option value added for each option name. This is instead of multiple option values to your one checkbox option name ucurrently have (I assume this is the setup you have).
23 Nov 2013, 20:31
#12
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

Well, I gave this a try, but it does not add a quantity box for each checkbox attribute. Perhaps there is another solution?
23 Nov 2013, 23:11
#14
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

Well, somewhat. I guess I could make that work somehow. What is it?

Attachment 13398

screenshot of what I'm trying to do and format. I need the quantity box just right of price.
23 Nov 2013, 23:30
#15
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Attributes quantity box

It's the mod I referenced above. It doesn't look like you need the grid aspect, so just set the one attribute you have to 'grid' and it should look like this:

http://www.stevesh.com/demo/index.php?main_page=product_info&cPath=25&products_id=36

You should be able to position the elements repective to each other by editing the code oir maybe with the stylesheet.
23 Nov 2013, 23:37
#16
bobdog avatar

bobdog

Totally Zenned

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

Re: Attributes quantity box

I don't think that will work. People won't be able to see the different colors and add. The dropdown would cause them confusion and stuff. The customer needs to see all the colors, and add accordingly. Is this possible?
23 Nov 2013, 23:55
#17
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

Re: Attributes quantity box

Now I'm confused. You only have one set of attributes for that product, right ? Ignore the Colors dropdown on my site and visualize your attributes with the Memory style, with quantity boxes.
24 Nov 2013, 03:01
#18
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,907
Plugin Contributions:
1

Re: Attributes quantity box

bobdog:

I don't think that will work. People won't be able to see the different colors and add. The dropdown would cause them confusion and stuff. The customer needs to see all the colors, and add accordingly. Is this possible?


Think you skipped a post. Did you see this? http://www.zen-cart.com/showthread.php?211090-Attributes-quantity-box&p=1227772#post1227772

Gave directions on how to accomplish what you were wanting and just asked about.

Not a check box, but a button.