Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
I believe if one of the attributes is something like customizable text and the other one is size or color, then it should work. but if you somehow have cascading attributes (like Color then size or vice versa), I don't think it works though someone with more coding experience may have managed to get something functional for that type of situation
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Yes, attributes that define the product like colour, size etc.
If this mod cant do this, can anyone point me to one that can.
1 Attachment(s)
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Chargin
Yes, attributes that define the product like colour, size etc.
If this mod cant do this, can anyone point me to one that can.
With zen cart 1.3.9h I use this mod, v4.9 along with Product Attribute Grid 1.1.1 to get this:
Attachment 11985
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
soxophoneplayer
With zen cart 1.3.9h I use this mod, v4.9 along with Product Attribute Grid 1.1.1 to get this:
Attachment 11985
Thats interesting, we couldnt use the grid format though, we use a lot of options 8 colours 8 sizes is very common for us. But obviously the info is there and can be displayed, I just need this in the standard dropdown list format with stock levels next to each one.
Of course the dynamic requirement makes it tough, ie depending on which attribute you select from one dropdown changes the other dropdown... your grid system doesnt have to deal with that.
So has this been done before?
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Hi,
I downloaded the contribution from http://www.zen-cart.com/downloads.php?do=file&id=202.
I applied both Version: 1.4.13 and Version: 1.4.14. When I went back to admin and try to add an item, I only see Product Priced by Attributes.
Would you please advise?
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
hi Kuroi,
I tried hard, but could not find anywhere:
how can i use attributes by stock for a specific category only?
I mean I am now using "attributes" to some categories, but want "stock by attributes" for one category only.
I am using zen cart version 1.3.7
please reply soon.
best regards,
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Regarding the problem with low stock warning missing for products in shopping cart, it seems like some code has been los on it's way in the versions.
Re-adding this at line 85-93 in includes/modules/pages/shopping_cart/header_php.php seems to solve the issue (why it was removed I don't know):
Code:
if (STOCK_CHECK == 'true') {
$flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']);
if ($flagStockCheck == true) {
$flagAnyOutOfStock = true;
}
$stockAvailable = zen_get_products_stock($products[$i]['id']);
}
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
rued
Regarding the problem with low stock warning missing for products in shopping cart, it seems like some code has been los on it's way in the versions.
Re-adding this at line 85-93 in includes/modules/pages/shopping_cart/header_php.php seems to solve the issue (why it was removed I don't know):
Code:
if (STOCK_CHECK == 'true') {
$flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']);
if ($flagStockCheck == true) {
$flagAnyOutOfStock = true;
}
$stockAvailable = zen_get_products_stock($products[$i]['id']);
}
I have the same problem, low stock warning is missing in shopping cart and no picture "out of stock" is visible. Problem is I already have this code in the file. Is there any other code missing? Does anyone else have this problem.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
KiaV
I have the same problem, low stock warning is missing in shopping cart and no picture "out of stock" is visible. Problem is I already have this code in the file. Is there any other code missing? Does anyone else have this problem.
I have to ask my question in another way. Products with attributes is working fine. You can't checkout when out of stock. But a lot of my products don't have attributes and with these you can checkout when stock is zero or below. I have tried to serch for this question but can't find an answer. Do I have to set attributes to all products to make this addon work?
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Read through this whole thread (mod is flawed) make sure you have the latest as linked from Robophungs posts, and remember to check your settings under Configuration > Stock