Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
swamyg1
I did this but it's still not working right. I set the stock to 10000 on the product level, the add to cart button displays fine but no attributes are displayed at all.
Here's a link
Vanilla Stock by attributes plays no part in displaying attributes. It only gets involved when a customer adds a product with stock attributes to their cart, and so can't cause them not to be displayed on the product page.
Also, when I follow the link you gave, the page says that the product couldn't be found. This too is not something that stock by attributes could cause.
Nice site though. :yes:
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
kuroi
Vanilla Stock by attributes plays no part in displaying attributes. It only gets involved when a customer adds a product with stock attributes to their cart, and so can't cause them not to be displayed on the product page.
Also, when I follow the link you gave, the page says that the product couldn't be found. This too is not something that stock by attributes could cause.
Nice site though. :yes:
Ahh I see. So I do have to stock lots and lots of quantities for each attribute for these products to ensure they never go out of stock. Not a big deal, I'll just go ahead and do that.
Thanks for the help, and positive comments on the site:smile:
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
kuroi
Vanilla Stock by attributes plays no part in displaying attributes. It only gets involved when a customer adds a product with stock attributes to their cart, and so can't cause them not to be displayed on the product page.
Also, when I follow the link you gave, the page says that the product couldn't be found. This too is not something that stock by attributes could cause.
Nice site though. :yes:
This is now working, but since I have a large set of attributes for this product it seems like the query is taking a pretty big hit on performance. Takes quite a few seconds to load the product.
Is there any way to not check the attribute stock and allow the attributes to display and checkout for particular products.
Can anybody think of a better way to do this?
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
swamyg1
Ahh I see. So I do have to stock lots and lots of quantities for each attribute for these products to ensure they never go out of stock. Not a big deal, I'll just go ahead and do that.
If you don't want the products to ever be treated as stock and can just put in (presumably) arbitrary large numbers to prevent that, why bother recording and checking stock at all? Unless I'm missing something, it sounds like a lot of grief with no real benefit.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
swamyg1
This is now working, but since I have a large set of attributes for this product it seems like the query is taking a pretty big hit on performance. Takes quite a few seconds to load the product.
Is there any way to not check the attribute stock and allow the attributes to display and checkout for particular products.
Can anybody think of a better way to do this?
Unless you have made changes to it (e.g. to display attribute stock on the product page), stock by attributes doesn't get involved in the product page at all. So turning it off won't deal with any problems related to the slowness of that page. Normal Zen cart attributes can cause this if the number or complexity is high. I suspect that might be what you're experiencing.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
I am also having the problem of adding user-edited text attributes to a product that was addressed back on pg. 65. Does anyone know how to do this? I have the the attribute created, but it is not available...
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
kuroi
If you don't want the products to ever be treated as stock and can just put in (presumably) arbitrary large numbers to prevent that, why bother recording and checking stock at all? Unless I'm missing something, it sounds like a lot of grief with no real benefit.
I only want to do this for products within ONE of my categories (called "custom order") All the other product and attribute combinations need to have stock attributes enabled.
I have modified stock by attributes with the dynamic dropdown mod so only options that have stock are displayed in the dropdowns. We sometimes have many attributes that are not in stock (ie. we carry 8" to 36" lengths for a product in various colors, sometimes we are out of stock of various combinations.)
I hope this explains what I'm trying to do, I just want people to select from the many many attribute combinations for "custom order" products and CHECKOUT even if the items are not in stock for this particular "custom order" product.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
I figured out how to do this, it requires creating a new product type. This involves modifying the db, duplicating a number of files in admin and catalog, along with calling the original tpl_modules_attributes instead of the modified version I am using for my other products... therefore no stock check!
If anybody needs to create a product type documentation is here:
https://www.zen-cart.com/tutorials/i...hp?article=114
Here's a good walk through for the not so savvy programmer type:
http://support.smallbusinesspages.or...acking-up.html
My situation might be different because I'm using stock by attributes with the dynamic dropdown mod. Hope it helps!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hello,
I just installed "products_with_attributes_stock_4.7.ajax" and I have a problem :
When a customer order a product whith an attribute, the quantity of the product is -1, but the quantity of the attribute is NOT modify.
Ex : t-shrit red
Quantity : tshirt : 10
- red : 4
- blue : 6
After the purchase :
Quantity : tshirt : 9
- red : 4
- blue : 6
Could you help me please ?
Thanks,
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Sorry, I just found my answer ... :
------
Sorry I didnt realise there were different versions.
I am using the AJAX one.
I just double checked the uploaded AJAX one from the server, there is definately NO includes/classes/order.php
I downloaded the Multiadd version, there IS an includes/classes/order.php
I just copied just the order.php over, and it worked fine after that.
----