Just finished installing this on 1.3.9h cart. Fresh install cart, but with several other mods.
Added an item with 8 sizes and 8 color attributes.
I tried to add a qty of 20 Gloss Black model #F1-A (left sizes set on ALL).
When I clicked submit I got the following error:
Any idea what I might have done wrong or what might be causing this?1054 Unknown column 'F1-A' in 'field list'
in:
[insert into `products_with_attributes_stock` (`products_id`,`stock_attributes`,`quantity`,`my_stock_id`) values (1,"10,18,19,7",20,F1-A) ON DUPLICATE KEY UPDATE `stock_attributes` = "10,18,19,7", `quantity` = 20]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I'll finish that project tomorrow, I've made enough mistakes today!
Hi,
Yes, I ran the SQL file that came with the mod named stock_attribute_my_stock_id.sql.
I even did it a second time, thinking maybe I had missed doing that. (It's been a long day! lol )
Thanks! :)
I'll finish that project tomorrow, I've made enough mistakes today!
Ron Huseby
ron@huseby.us
On this particular item all sizes use the same part number, but other products don't.
I tried doing just XS Gloss Black F1-A-XS and now I get this error:
1054 Unknown column 'F1' in 'field list'
in:
[insert into `products_with_attributes_stock` (`products_id`,`stock_attributes`,`quantity`,`my_stock_id`) values (1,"7,10,18,19",5,F1-A-XS)]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I could live with adding a size identifier on each combination, but are they ALL going to show up in the dropdown boxes?
I'll finish that project tomorrow, I've made enough mistakes today!
Yes - wasn't too difficult. I manually went through your mod and added the code to my original php files. (after making backups of course) Basically inserting the code around the v.1.5.0.. and testing as I went.
As you mentioned earlier, hacking is much easier than coming up with it on your own.
BTW, still looking to add the Include/Exclude flag for Stock Quantity. Had asked the Software Guy, but he passed. Might take it to the original SBA thread(s) and ask if anyone has a mock up/ and or willing to send me a PM to folks that might be interested.
Bookmarks