Hi,
I read through the features of Stock by Attributes and only want the feature where it shows how many pieces are available when customer attempts to purchase over the available qty in cart.
Right now when someone tries to purchase over the stock amount per product, the message just says "There is not suffcient amt..." but doesn't really say how many are left for them to purchase. This is frustrating to customer who sometimes do not look at the available stock description on the product info page.
Does anyone know which files these are? Is it possible to just extract this portion and still use the regular stock by product feature of zencart?
I'm using zencart 1.3.8a. Thanks
I'm nearly fully up and running now. just a few niggles I need sorting..
1. When I have my stock settings to disable product when out of stock, they still show??? is there a fix for this? I did notice that the drop down attributes behave correctly and switch off if the attribute is out of stock, but if all attributes are out of stock and the overall product_id is out of stock, it still shows...
2. I want my products to go out of stock when stock level reaches 30... I found a post saying you only had to change one setting for this, but when I do only what was described below, the product shows out of stock, my attributes stay showing too...
Can anyone advise on any of this??
Cheers.
Phil
forgot to add the suggested change needed:
i figured it out it was really simple actually
this is the only file you have to edit:
/home/rickie/public_html/includes/functions/functions_general.php
Line #1146 : case ($button_check->fields['products_quantity'] <= 5 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1')
It originally said case ($button_check->fields['products_quantity'] <= 0 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1')
I just changed it to "<=5" and then i showed a sold out button when the product quantity is <=5
No I was wrong,
I have just noticed that I have the following stock:
Small = 4
Medium = 0
Large = 40
I have done what I mentioned above and set:
Line #1146 : case ($button_check->fields['products_quantity'] <= 30 and SHOW_PRODUCTS_SOLD_OUT_IMAGE == '1')
But this has still just allowed someone to check out when the Small was set to 4!!
Please someone point me in the right direction.. if the attributes disappear when they hit 0, there must be somewhere I can change this value to 30....
You should read through this whole thread.. It will give you a better feel for this mod.. Also you should give a read through the other support thread for this mod. (Stock by Attribute v4.0 for Zen Cart 1.3.5+)
So if you have an attribute called size and had stock as follows:
S = 5
M = 12
L = 0
If I understand your posts correctly, you are asking if this mod will "hide" attributes when the amount of stock for that variant = "0". (In this example this would be size "L") The answer is NO.. if a customer adds a variant that is out of stock to the cart, he will not be notified until he adds the out of stock variant to the cart.
Now there is another mod that has been written specifically to work with Stock by Attributes (the Kuroi version not the "others") It is the Product Attributes Grid add-on. This add will allow you to visually see which variants are out of stock.
You can see this in action in this example:
http://clients.overthehillweb.com/ha...rimeter-Medium
Link to the Product Attributes Grid is here
Support thread for Product Attributes Grid is here
Bookmarks