What settings do you have on the Admin > Configuration > Stock page?
Can you provide stock values (for product and individual attribute combinations) before and after from a purchase such as you have described?
Printable View
What settings do you have on the Admin > Configuration > Stock page?
Can you provide stock values (for product and individual attribute combinations) before and after from a purchase such as you have described?
Is it possible to get what code needs to be change for tpl_shopping_cart_default.php? I have a custom template and I would like to just add what is needed. Maybe diff the default template and the file in the stock by attributes zip?
Cal
With regard to Admin>Config>Stock settings, I have them set as below:
Check stock level true
Subtract stock true
Allow Checkout false
Mark product out of stock Out of stock
Stock Re-order level 5
Show available stock level in cart when less than order true
Products status in Catalog when out of stock should be set to 0
Show Sold Out Image in place of Add to Cart 1
Product Quantity Decimals 0
Show Shopping Cart - Delete Checkboxes or Delete Button 3
Show Shopping Cart - Update Cart Button Location 3
Show New Products on empty Shopping Cart Page 1
Show Featured Products on empty Shopping Cart Page 2
Show Special Products on empty Shopping Cart Page 3
Show Upcoming Products on empty Shopping Cart Page 4
Stock levels before purchasing a product:
Total stock 17 items broken down as follows:
Size 8 = 3
Size 10 = 3
Size 12 = 3
Size 14 = 3
size 16 = 2
Size 20 = 3
I have just carried out a test purchase on Size 10 and have ordered 6 of the 3 available.
Toatal stock now reads 11 items, but my stock figures for each attribute haven't changed at all they still read as above.
With regard to my last post, was I correct in the way I was adding a product and adding the stock levels afterwards?
The mystery deepens....
Arkie....
I seem to have kind of broken my cart and I'm not quite sure how to fix it. I installed the incorrect version for stock attributes (products_with_attributes_stock) and really thought I had backed out if it (had everything working as normal) and then installed stockattribute_by_danielcor_3.01.1. Works well enough on the back end for adding stock numbers and such. Looks good on the front end until you click on a product that has variants on it and then it ends in a blank page.
Any ideas? Have I somehow skipped a step?
Thanks!
Janelle
http://www.quailsnestyarn.com
Yes. That was fine. The initial product level stock should become irrelevant once you start adding attribute stock.
For everybody else, Arkie and I resolved this mystery by changing his FTP settings to always overwrite existing files so that the full stock by attributes fileset was installed.
FTP programs are often reluctant to overwrite existing files, and even more so for existing files with newer last modified dates. If you have installed Zen Cart more recently than I last worked on some of the files then this may affect you and you will may need to force your FTP program to upload all the files in the package.
stockattribute_by_danielcor_3.01.1 is a good idea but appears to be based on the older stockattribute_by_danielcor_3.01 (note the last of ".1") without the updates for compatibility with later versions of Zen Cart that are built into the Stock by Attributes mod. So the chances of incompatibilities between the mod and your version of Zen Cart are quite high.
Thanks so much for your answer. Which mod *will* work best with v1.3.7? I'm sure it's probably in this very thread but I can't seem to find it. I can back out of stockattribute_by_danielcor_3.01.1 too but I just need a simple mod that will allow me to set stock levels on attributes. I don't need any bells and whistles.
Thanks!
Janelle
In my view :D Stock by Attributes, but version 4.6 not 4.7.
kuroi, you're fantastic! Thanks so much - works perfectly!
Janelle