With that said... there is an error in my last alpha version in the sql file. I forgot to put an insert --->
Code:
INSERT INTO `configuration` VALUES (1286, 'Disable drop down menu when stock equals zero', 'sba_zero_disable ', 'true', 'Set drop down menu to automatically disable when the attribute quantity equals zero:', 9, 6, '2010-07-25 15:29:27', '2010-07-25 14:44:56', NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
I fixed the tpl_module_attributes.php issue. Now I am working on getting the functions_lookups.php working. Once I fixed that file I will upload the next alpha version.
One of the real problems with SBA is that each version works with an older version of zen-cart. Then someone tries to add it to a new version of zen-cart which as we know breaks stuff. Especially security fixes, etc. My codes have always used the latest zen-cart codes with the add-ons. I merge the files with the newest zen-cart releases. Not just overwrite the new zen-cart fixes with old files. That why I am saying my version only works with 1.5.0.
Now the old files has issues also, this mod was an oscommerce mod ported over to zen-cart. A lot of mistakes were made porting it over. Such as missing "quotes" > brackets, queries, whitespacing issues, etc... and those same mistakes were ported over to each version of SBA mods because they were never fixed. Some of the mod versions were simple updated to make them work with other mods, such as Numnix Fast and Easy Checkout.
Other mod added a simple column so you can add stock product ID number. (Which needs to be expanded to be actually being more usefully in my opinion. IE: could be used for Google product search queries) but the same mistakes are still made and then you have to read through 20 different post to figure out the fixes.
My version has all the fixes and a few more. Hopefully it'll be the last promising version (doubtful) before zen-cart 2.0 comes out. Since I won't have time to support it. Since I am doing this for only one client till I move her off zen-cart to this other cart I am using. This will be my last version and hopefully the best one.
Now I am just sharing my codes so all you can reap from this. I do not plan to make it an official version add-on. So if someone else wants to take my final version when done and submit it to the add on section. Feel free...
Bookmarks