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

Results 961 to 980 of 3,609
5 Nov 2010, 4:35 AM
#961
artrat avatar

artrat

New Zenner

Join Date:
Aug 2007
Location:
NY
Posts:
26
Plugin Contributions:
0

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

revski, im looking at my code deeper now. i upgraded and didn't do a clean install. my old versions do indeed have a modules/your_template folder...i see now early in the readme where it mentions that, but for my install, i skipped to the upgrade parts...missed that. there is no folder/file to edit or overwrite in the last downloadable version of this mod. I do have the template folder in my live store site files. it's attributes.php AND that is most likely why my quantity updates work when i use the old way, one at a time update. the ajax doesn't work for me, is this the reason???, the includes/modules/YOUR_TEMPLATE /attributes.php file is not changed....i can't help you any more that this. there seems to be a folder missing in the last updated download.

5 Nov 2010, 4:44 AM
#962
artrat avatar

artrat

New Zenner

Join Date:
Aug 2007
Location:
NY
Posts:
26
Plugin Contributions:
0

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

bah 7 minutes into the future...
version 4.4 was the version i had. i looked at all the other downloads after that release....that file/folder is not included. Was it in fact changed? is it even needed? :)

9 Nov 2010, 9:06 AM
#963
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

I am using SBA version 1-4-10 (clean install) on ZC 1.3.8a. Only issue is that when a particular item is out of stock, it still lets the customer add to cart and checkout.

I have already have this setting changed...

admin>configuration>stock>allow checkout> false

Any help would be appreciated. I have read through a lot of this support thread and haven't found a fix.

9 Nov 2010, 9:27 AM
#964
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

If I switch to the V4.8 will it fix this?

9 Nov 2010, 1:20 PM
#965
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

ams30gts:

If I switch to the V4.8 will it fix this?

Sorry, but no, the mod does not obey the out of stock setting. Be sure to turn on the shopping cart display out of stock message so that your customers will be informed that it is out of stock.

I swear this mod used to drop the attributes out of view when out of stock but I can't prove it and no one will agree with me on that.

9 Nov 2010, 4:34 PM
#966
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

delia:

Sorry, but no, the mod does not obey the out of stock setting. Be sure to turn on the shopping cart display out of stock message so that your customers will be informed that it is out of stock.

I swear this mod used to drop the attributes out of view when out of stock but I can't prove it and no one will agree with me on that.
I can confirm that this mod NEVER did this.. (and I have used/tested versions going all the way back to Kuroi's original version of this mod)

There have been posted "fixes" in both of the SBA support threads which show how to modify SBA so that attributes which are out of stock will not appear on the product pages. However there is a HUGE CAVEAT with using this code. It only works for SINGLE attribute product variants. Product variants which involve multiple attributes do NOT work with this posted "fix".

The reason why this "fix" has NEVER been included in any SBA release is because of the fact that it will NOT work on variants which contain multiple attributes (ie: size + color)

Hope that clears this up a little..:smile:

9 Nov 2010, 5:14 PM
#967
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

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

There was an missing attribute database query in header.php in the modules/pages/shopping_cart/ older files. Replace it with this:

http://www.zen-cart.com/forum/showpost.php?p=952513&postcount=952

;)

ps
sorry for the late reply. Thread notifications only work sometimes here. I am subscribed to all sba threads but some reason I dint get notified till like 5-10 post later. Really weird...

9 Nov 2010, 5:19 PM
#968
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

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

DivaVocals:

I can confirm that this mod NEVER did this.. (and I have used/tested versions going all the way back to Kuroi's original version of this mod)

There have been posted "fixes" in both of the SBA support threads which show how to modify SBA so that attributes which are out of stock will not appear on the product pages. However there is a HUGE CAVEAT with using this code. It only works for SINGLE attribute product variants. Product variants which involve multiple attributes do NOT work with this posted "fix".

The reason why this "fix" has NEVER been included in any SBA release is because of the fact that it will NOT work on variants which contain multiple attributes (ie: size + color)

Hope that clears this up a little..:smile:

sba drop down mod was the contribution for this but is supper buggy! It works but only with dropdowns and not radio / text attributes. Can't wrap my head around fixing the drop down mod codes. One day I will concor it though!

9 Nov 2010, 6:39 PM
#969
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

creinold:

sba drop down mod was the contribution for this but is supper buggy! It works but only with dropdowns and not radio / text attributes. Can't wrap my head around fixing the drop down mod codes. One day I will concor it though!Agreed.. The module author SWEARS it works, but I never had anything but issues with it, and the fact that it only worked with dropdown attributes was a deal breaker for me..

9 Nov 2010, 9:31 PM
#970
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

DivaVocals:

I can confirm that this mod NEVER did this.. (and I have used/tested versions going all the way back to Kuroi's original version of this mod)

There have been posted "fixes" in both of the SBA support threads which show how to modify SBA so that attributes which are out of stock will not appear on the product pages. However there is a HUGE CAVEAT with using this code. It only works for SINGLE attribute product variants. Product variants which involve multiple attributes do NOT work with this posted "fix".

The reason why this "fix" has NEVER been included in any SBA release is because of the fact that it will NOT work on variants which contain multiple attributes (ie: size + color)

Hope that clears this up a little..:smile:

Going to try and look for it now. I only use 1 attribute (color) on my listings and should work.

9 Nov 2010, 9:52 PM
#971
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

Ok found it and it works.

If anyone has the same issue I had where your customer was still able to add to cart and checkout with out of stock items, this will fix it.

NOTE: This will only work when you are using only 1 attribute from what I have read. I only use color so it works fine for me.

http://www.zen-cart.com/forum/showthread.php?p=697756

9 Nov 2010, 10:50 PM
#972
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

Let's be VERY clear.. If you do not want customers to checkout with out of stock items, there is an admin setting which is part of DEFAULT Zen Cart admin which control that..

If what you REALLY want is for out of stock product variants to NOT appear in your dropdown lists, then this fix and other variations of this fix posted throughout this thread will do that..

I want to make sure it's CLEAR what all options are for those folllowng this thread..

ams30gts:

Ok found it and it works.

If anyone has the same issue I had where your customer was still able to add to cart and checkout with out of stock items, this will fix it.

NOTE: This will only work when you are using only 1 attribute from what I have read. I only use color so it works fine for me.

http://www.zen-cart.com/forum/showthread.php?p=697756

9 Nov 2010, 11:22 PM
#973
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

DivaVocals:

Let's be VERY clear.. If you do not want customers to checkout with out of stock items, there is an admin setting which is part of DEFAULT Zen Cart admin which control that..

If what you REALLY want is for out of stock product variants to NOT appear in your dropdown lists, then this fix and other variations of this fix posted throughout this thread will do that..

I want to make sure it's CLEAR what all options are for those folllowng this thread..

DivaVocals is EXACTLY right.

In my situation, I have many other products that do NOT have attributes and when they are out of stock I use the "Product Notification" mod which does not work in conjunction with SBA. this modification that I used simply removes the attribute from the dropbox option.

Is there some sort of add-on or fix that will assign each attribute its own SKU so it would update with Easy Populate?

10 Nov 2010, 11:58 PM
#974
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

Just ran into another snag.

Just say I have qty 1 of a certain product. It is still letting me checkout if I have 2+ in my cart.

Is there any fix for this?

11 Nov 2010, 2:21 PM
#975
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

DivaVocals:

I can confirm that this mod NEVER did this.. (and I have used/tested versions going all the way back to Kuroi's original version of this mod)

There have been posted "fixes" in both of the SBA support threads which show how to modify SBA so that attributes which are out of stock will not appear on the product pages. However there is a HUGE CAVEAT with using this code. It only works for SINGLE attribute product variants. Product variants which involve multiple attributes do NOT work with this posted "fix".

The reason why this "fix" has NEVER been included in any SBA release is because of the fact that it will NOT work on variants which contain multiple attributes (ie: size + color)

Hope that clears this up a little..:smile:

Thanks so much for the clariification.

And so to state it boldly:

This module allows checkout no matter the number in stock. Be sure to turn on the shopping cart messaging ( edit it as you want stating that you don't do backorders.)

The fix for this? The lower you allow your stock to go, the more likely it is you might have someone who orders something you can't ship. So don't allow the stock to get so low = or put messages on your product - like ONLY ONE LEFT! Etc...

11 Nov 2010, 2:28 PM
#976
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

delia:

And so to state it boldly:

This module allows checkout no matter the number in stock. Be sure to turn on the shopping cart messaging ( edit it as you want stating that you don't do backorders.)Well, it certainly used to prevent checking out with non-existent stock. That was explicitly tested for in each of the releases I put out. But as I haven't used it for what must be getting on for a couple of years, I can't say whether the current problems being reported are down to installation (check that you have have the correct version of the order.php class file), configuration (admin > configuration > stock) or a change in the mod's functionality (seems unlikely).

11 Nov 2010, 3:07 PM
#977
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

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

delia:

Thanks so much for the clariification.

And so to state it boldly:

This module allows checkout no matter the number in stock. Be sure to turn on the shopping cart messaging ( edit it as you want stating that you don't do backorders.)

The fix for this? The lower you allow your stock to go, the more likely it is you might have someone who orders something you can't ship. So don't allow the stock to get so low = or put messages on your product - like ONLY ONE LEFT! Etc...
So that I am clear about what I was previously stating, I was referring to the feature which removes attributes from customer view so that it cannot be selected.. That feature has never been apart of this mod. (though there are posted fixes for this which only work with single attributes). When choosing out of stock product variants, SBA does indeed clearly show the item (variant) is out of stock AND if my store admin settings are configured so that I do not allow checkout of out of stock items, then customers are unable to complete the purchase..

kuroi:

Well, it certainly used to prevent checking out with non-existent stock. That was explicitly tested for in each of the releases I put out. But as I haven't used it for what must be getting on for a couple of years, I can't say whether the current problems being reported are down to installation (check that you have have the correct version of the order.php class file), configuration (admin > configuration > stock) or a change in the mod's functionality (seems unlikely).:yes: nods in agreement

14 Nov 2010, 1:48 AM
#978
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

I have this mod installed on a 1.3.9h store and it's working great except for one small issue. In my admin, I've turned on the setting for "Show available stock level in cart when less than order". However, it shows the available stock level as 0 regardless of the quantity actually in stock. So for example, if I have 2 black shirts in stock, and the customer adds 2, they can checkout. If they add 3, the shopping cart displays the message "Stock Available: 0" even though there are actually 2. I'm not sure how to fix this? I know I can just turn that feature off, but it's a really nice feature to have if I can get it working!

Thanks!

15 Nov 2010, 8:12 AM
#979
ams30gts avatar

ams30gts

Zen Follower

Join Date:
Apr 2009
Location:
Los Angeles, California
Posts:
118
Plugin Contributions:
0

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

I thought I had it working right until today.

Inventory level is not decreasing when a product with attributes is purchased.

Anyone else have this problem and fixed it?

19 Nov 2010, 6:35 AM
#980
janislyn avatar

janislyn

New Zenner

Join Date:
Mar 2010
Posts:
7
Plugin Contributions:
0

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

I'm working with Zen Cart version 1.3.8a, have the stock by attributes add-on installed for that version and have a couple of stock-related issues.

  1. I need for the stock level for a particular attribute to show in the shopping cart when a customer selects a quantity more than what's in stock. Despite having the correct configurations under Configuration > Stock, I don't get the quantity showing in the shopping cart. Rather there is this message:

Products marked with * are out of stock or there are not enough in stock to fill your order. Please reduce the quantity of products marked with * below. Thank you.

  1. Relatedly, when a customer purchases a product with attribute, the stock for that attribute is not updated automatically. Rather the product stock itself is updated but I have to go under Catalog > Product with Attributes Stock to manually update the attribute quantity.

How do I get the attribute quantity to show in cart when customer selects more than what's in stock? Also, how do I get attribute stock level to update automatically? I've seen both of these questions posted over and over in this forum with no clear answers. If anyone can help, it would be greatly appreciated.

Thanks.