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

Results 221 to 240 of 3,609
27 May 2007, 7:55 AM
#221
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

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

kuroi:

Sync quantities applies the sum of the stocks for a product's attribute combinations to the overall stock total for that product.
Thanks, kuroi, that's cleared that up for me.

29 May 2007, 11:41 AM
#222
moltar avatar

moltar

New Zenner

Join Date:
May 2007
Posts:
43
Plugin Contributions:
0

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

Is there a way to assign a different SKU/model for each product variant using this mod? Or is there a hack for this mod? I need this functionality to sync quantities with existing, brick and mortar database. Thanks!

29 May 2007, 11:46 AM
#223
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

moltar:

Is there a way to assign a different SKU/model for each product variant using this mod? Or is there a hack for this mod?No the mod doesn't support this. But it is planned for the next major release (1.4) of Zen Cart. I'm not aware of any hack that does it now.

29 May 2007, 11:53 AM
#224
moltar avatar

moltar

New Zenner

Join Date:
May 2007
Posts:
43
Plugin Contributions:
0

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

Holy crap you are fast :))

When is the next release coming out? :shocking:

p.s. there is a contribution that supposedly does this, but it's all in german and it's basically a whole bunch of file edits. Not very elegant...

29 May 2007, 11:58 AM
#225
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

moltar:

When is the next release coming out? :shocking:I'm afraid the Zen Cart Dev Team don't give out release dates.

7 Jun 2007, 7:15 AM
#226
cfardon avatar

cfardon

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

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

Hi, i have been reading through all the threads and still cant work out a solution to be able to have 2 attributes to a product but only use one f them for stock levels.
e.g.
The product is a theatre show. It has 20 screenings.
1st Attribute = Date i want to have 70 products for each date
2nd Attribute = Ticket level...concession, adult etc. I dont want to use quantity for this attribute as they refer to the 70 on the date.

Can someone please help?

10 Jun 2007, 4:39 AM
#227
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

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

OK, so I've added this module, got it working, and updated all my stock.

Because the stock levels of each variant are not clear at the time of ordering, I can see that, in the case of my store, there are almost certainly going to be occasions when a customer may decide that he/she fancies an item in Size a in Colour B, which is a variant that isn't available, and it may be the case that the customer has to just keep trying until they get the right combinations. So in many ways, the customer is working 'blind'.

So to overcome this problem, I have provided the customer with a 'stock availability' table which shows the variants that are available, with stock levels.

I've added the table in the product details text, but, as things stand, I will have to manually update the stock levels in these tables when purchases are made or stock replenished.

FINALLY... my question can anyone advise me as to what code I would need to incorporate in my text so as to make the the stock level update automatically?

I am quite happy to add a different line of code for each variant, if necessary, because this would save me time in the long run.

I realise that the way to do this is to 'look-up' the stock level for the variant, using the variant's unique 'id', but I have no idea as to how I could do that from within the html in my 'stock availabilty' table. (Ideally, I would like to be able to re-present a filtered by product version of the 'Stock by Attributes' data entry page, because that would mean that the whole table would be automatic!!)

30 Jun 2007, 11:36 AM
#228
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

Sorry if this was covered allready. Its such a long thread I couldnt find my answer.

I have the Stock by attribute mod installed, And it shows a total of how many I have regardless of Size. I wanted to know if there was a way, Perhaps in the actual drop down menu options if I can put how many I have in stock for each item.

Thanks.

30 Jun 2007, 11:41 AM
#229
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

milobloom:

I wanted to know if there was a way, Perhaps in the actual drop down menu options if I can put how many I have in stock for each item.That is rather the point of the module :smile:

Providing it's properly installed, attribute stocks are entered via Admin > Catalog > Products with Attributes Stock

2 Jul 2007, 3:47 PM
#230
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

Maybe I dont have it installed right then.

I get a count on the top on how many I have in total.

However in the drop down it (or anywhere for that matter ) I dont see where it shows 1 in size large 2 in medium 4 in small

The drop down menu just shows size not how many there are...

What am i doing wrong???

2 Jul 2007, 4:05 PM
#231
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

Sorry. Misunderstood. Thought that you were referring to entering data via the Admin.

What you want to do is not included in the mod and there's an explanation of why in the wiki entry for the mod. There is a way of doing it (though it may need some adapting to your particular requirement) and there are multiple posts about it earlier in this thread and in the other support thread. If you search for "Grayson", that's usually a good starting point.

3 Jul 2007, 1:02 AM
#232
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

Oy. Ok. I am very confused. So any help would really be appreciated.
There are many versions of Stock by attributes around, And I dont know which one I am running.

I am running the current version of zencart. I just spent alot of time entering stock levels by going into Catalog -> Products with Attribute Stock.

Now here is my delema... I think I found some edits to make the drop downs as you mentioned.

If you go this archive thread and seek out post #110 by Grayson, and her correction in #132. She shares code that she uses to show quantities for each attribute (though it will only work when there is at most one attribute per product), which could easily be adapted to supress display instead when the quantity is 0.

So I went there and saw the first edit to:

Open includes/modules/pages/product_info/main_template_vars_attributes.php and make the following changes:

And the funny thing was there was no such file.

Now this is getting me a little scared. I wouldnt want to type in all those Stock Levels all over again. Did I jave the wrong version installed? But this does sound like the way we were talking about how to enter the stock...

Sigh...

What would you make of this???

Milo
https://www.timeofyear.com

3 Jul 2007, 8:23 AM
#233
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

milobloom:

There are many versions of Stock by attributes around, And I dont know which one I am running.That's kind of important. Although Stock by Attributes now touches as few core Zen Cart files as possible. The ones it does touch have a habit of changing with each release. That's why there are so many versions of Stock by Attributes - they match versions of Zen Cart. Thank goodness this functionality will be incorporated into core Zen Cart in release 1.4.

milobloom:

And the funny thing was there was no such file.Grayson's solution was designed for Zen Cart 1.2.x. The Zen Cart structure changed for 1.3, and the adaptations for this solution are explained in later posts. Try searching for "Frank" in the support threads for this mod. I believe that one of them will yield what you're looking for.

4 Jul 2007, 8:49 AM
#234
poosk avatar

poosk

Totally Zenned

Join Date:
Mar 2005
Location:
Helsinki
Posts:
477
Plugin Contributions:
0

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

I'm looking for a way to combine attributes controller to the stock by attributes...

So basicly stock by attributes' "Add Quantity For Product Variant" thing would display all the attribute values (I use only one attribute..size) and user wouldn't have to go through attributes controller at all..

If anyone has ideas on this, let me know. thanks

7 Jul 2007, 4:12 AM
#235
titter avatar

titter

New Zenner

Join Date:
Jul 2007
Location:
florida.USA();
Posts:
11
Plugin Contributions:
0

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

I did a search of this thread, but nothing came up. Is there anyone to have each attribute assign a unique model number?

Example.
Design1, Black, Large = DESIGN-BLKL
Design1, Black, Small = DESIGN-BLKS

So on and so on. Thanks.

7 Jul 2007, 8:15 AM
#236
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

poosk:

I'm looking for a way to combine attributes controller to the stock by attributes...I'd recommend patience on this. Stock by Attributes is scheduled to be incorporated into Zen Cart 1.4, so making code changes (which is what this would require) would simply be lost.

7 Jul 2007, 8:16 AM
#237
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

titter:

I did a search of this thread, but nothing came up. Is there anyone to have each attribute assign a unique model number?

Example.
Design1, Black, Large = DESIGN-BLKL
Design1, Black, Small = DESIGN-BLKSThis functionality is not present in the existing mod, but is scheduled for inclusion in core code for Zen Cart 1.4.

7 Jul 2007, 3:08 PM
#238
titter avatar

titter

New Zenner

Join Date:
Jul 2007
Location:
florida.USA();
Posts:
11
Plugin Contributions:
0

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

Any suggestions on how to setup the inventory ... do the extra attributes show on a order?

7 Jul 2007, 7:22 PM
#239
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

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

Is there any way to be notified when something is out of stock???

8 Jul 2007, 12:45 PM
#240
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

milobloom:

Is there any way to be notified when something is out of stock???Yes. You would enable the low stock emails and set the threshold to zero.