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

Stock For Product With Different Attributes (OLD)

Locked
Results 1 to 20 of 273
This thread is locked. New replies are disabled.
30 Nov 2005, 21:04
#2
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Description:
This module allows one to keep track of individual stocks of a product variant. For example, if you have three sizes, large, medium and small, this module will allow you to keep track of all the different quantities. It will work with an unlimited amount of attributes so you could have green, small, cotton shirts.

Download here:
http://1-2-3-direct.com/forum_stuff/produc...butes_stock.zip
01 Dec 2005, 09:27
#3
ah_salama avatar

ah_salama

New Zenner

Join Date:
Jun 2005
Posts:
8
Plugin Contributions:
1

Re: Stock For Product With Different Attributes (OLD)

dear dafonz
it will be a great module but can you tell me the differece between it and the "Attributes by stock" module by milosh , can they work together or their will be conflicts in that
01 Dec 2005, 10:59
#4
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Originally posted by ah_salama@Dec 1 2005, 09:27 AM
dear dafonz
it will be a great module but can you tell me the differece between it and the "Attributes by stock" module by milosh , can they work together or their will be conflicts in that

Can't speak for whether or not they work together (I'm guessing likely not), but this allows you to have finer control over the stock.

For example, with milosh's module, you can specify number of each attribute.. so it could be 5 black and 5 blue and 3 medium and 7 small.

Problem is, you don't know what is what. Is it 3 medium blacks or 3 medium blues? You don't know.

With this module, you can specify different stock ids..

so

3 medium blacks
2 small blacks
5 small blues
01 Dec 2005, 22:41
#5
cslhypnotech avatar

cslhypnotech

Zen Follower

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

Re: Stock For Product With Different Attributes (OLD)

This is a really dumb question, but where do I go to add attribute stock? I can't figure out where to use this addon.
02 Dec 2005, 00:29
#6
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Originally posted by cslhypnotech@Dec 1 2005, 10:41 PM
This is a really dumb question, but where do I go to add attribute stock? I can't figure out where to use this addon.

Catalog > Products with Attributes stock
02 Dec 2005, 15:51
#7
cslhypnotech avatar

cslhypnotech

Zen Follower

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

Re: Stock For Product With Different Attributes (OLD)

I checked the files for consistency using Winmerge, installed the tables, uploaded the files, and I'm not seeing this option.. I'll check my files again, any ideas?
02 Dec 2005, 17:24
#8
wonderfullymade avatar

wonderfullymade

New Zenner

Join Date:
Apr 2005
Posts:
65
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

I'm having the same problem, I uploaded all the files, ran the query etc and it doesn't give me that option under my catalog.
02 Dec 2005, 20:17
#9
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

My bad.. I left out a file!

You'll need to edit admin/includes/boxes/catalog_dhtml.php and add this line (whereever you want)

 // Edit
 $za_contents[] = array('text' => BOX_CATALOG_PRODUCTS_WITH_ATTRIBUTES_STOCK, 'link' => zen_href_link(FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK, '', 'NONSSL'));
 // end edit


Updated the zip to reflect that. Sorry about that guys!
02 Dec 2005, 23:00
#10
cslhypnotech avatar

cslhypnotech

Zen Follower

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

Re: Stock For Product With Different Attributes (OLD)

Thanks :) appears to be working perfectly!
03 Dec 2005, 11:08
#11
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Posts:
1,782
Plugin Contributions:
4

Re: Stock For Product With Different Attributes (OLD)

Better way -- create file admin/includes/boxes/extra_boxes/products_with_attributes_stock_catalog_dhtml.php with this code:
<?php
 $za_contents[] = array('text' => BOX_CATALOG_PRODUCTS_WITH_ATTRIBUTES_STOCK, 'link' => zen_href_link(FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK, '', 'NONSSL'));
?>
07 Dec 2005, 09:45
#12
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Hi wonderfullymade (just trying to consolidate everything.. responding to this post)

http://www.zen-cart.com/modules/ipb/index....showtopic=36921

Did you check your boxes? You can either edit this file here
admin/includes/boxes/catalog_dhtml.php and add

 // Edit
 $za_contents[] = array('text' => BOX_CATALOG_PRODUCTS_WITH_ATTRIBUTES_STOCK, 'link' => zen_href_link(FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK, '', 'NONSSL'));
 // end edit


or refer to the post by a_berezin with using the overrirdes. I just prefer editing the file directly as I can place the link where I want it to in the menu
07 Dec 2005, 13:42
#13
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Posts:
1,782
Plugin Contributions:
4

Re: Stock For Product With Different Attributes (OLD)

Originally posted by dafonz@Dec 7 2005, 12:45 PM
I just prefer editing the file directly as I can place the link where I want it to in the menu

Yes! I use the digit prefix in filenames for that. ;)
07 Dec 2005, 14:06
#14
wonderfullymade avatar

wonderfullymade

New Zenner

Join Date:
Apr 2005
Posts:
65
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Thanks!! That worked! Now I have to figure out how to get molish (I think it was) contrib that wasn't what I needed out of my system (sigh) I didn't back up, but my store isn't live or advertised yet so I have time to work on it.
08 Dec 2005, 07:11
#15
signslave avatar

signslave

New Zenner

Join Date:
Sep 2004
Posts:
27
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

::tup ::tup

installed it, works fine!
08 Dec 2005, 07:50
#16
afx114 avatar

afx114

Zen Follower

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

Re: Stock For Product With Different Attributes (OLD)

Does this mod correctly decriment stock #'s per attribute when orders are placed?
08 Dec 2005, 08:30
#17
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Originally posted by afx114@Dec 8 2005, 07:50 AM
Does this mod correctly decriment stock #'s per attribute when orders are placed?

You bet
08 Dec 2005, 16:24
#18
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Hi,

Great contribution, Thanks.

I have noticed that when deleting an order the stock is not added back in, should it?

Thanks
09 Dec 2005, 12:45
#19
audradh avatar

audradh

Zen Follower

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

Re: Stock For Product With Different Attributes (OLD)

I have yet to add any modules to my cart. I am working through things as I come to them, but I have a lot to learn about webspace in general, including Zen Cart.

There are plenty of references throughout the forums to "backup before making major changes" and "test this thoroughly before going live."

How do y'all test something before going live? Once in business your website is live 24/7. So where does the testing happen?

Bet ya weren't expecting such a bare basics kinda question :)

The Newbie,
Audra
09 Dec 2005, 13:44
#20
dafonz avatar

dafonz

Banned

Join Date:
Jun 2004
Posts:
40
Plugin Contributions:
0

Re: Stock For Product With Different Attributes (OLD)

Originally posted by longstockings@Dec 8 2005, 04:24 PM
Hi,

Great contribution, Thanks.

I have noticed that when deleting an order the stock is not added back in, should it?

Thanks

Nope.. you'd have to make that yourself I think. I don't like the idea of deleting orders because logging everything is good...