Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
I have taken a few minutes today to create (merged/update) a Zen Cart 1.3.9h version of the mod I updated for Zen Cart 1.5.1.
BUT, I have not yet tested it as I do not have a stable setup of the older zen cart store (we moved onto the 1.5.1 version), if anyone has a TEST store to try this on I can provide them with the test version. It should provide all the newer options and fix a couple of bugs, but needs to be tested prior to use on any active store.
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
After install I am getting a blank admin page.
Below is the error in cache.
[14-Aug-2013 12:20:12] PHP Fatal error: Call to undefined function zen_draw_admin_box() in /home/naweoa/public_html/naweoastore/admin/includes/boxes/catalog_dhtml.php on line 44
replacing the
admin/includes/function/general.php file with the old file gets the page up again but without the Stock by Attribute function of course.
I have changed the name of my admin folder for security. I have also changed the name of my admin folder to match in this post error message.
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
Now I try to install the 1.4.14 ver of mod to Zen 1.3.9.h (Not the test site), I overwrite all files and execute the sql file but get this error:
1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 'unq_config_key_zen'
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," ), ('Display Images in Admin', 'STOCK_SHOW_IMAGE', 'false', 'Display image thumbnails on Products With Attributes Stock page? (warning, setting this to true can severly slow the loading of this page):', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
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 can't remember if I upload this sql file before but I think I never gotten this message. Will this cause the issue? How can I fix this??
Sir I like to inform you that I fix the issue. I made so stupid mistake when I changed tpl_product_info_display.php, I put an extra } mark right after the attribute part so the template can't load product info properly.
I deeply appreciate your help and wish you the best. Thank you so very much![]()
This had worked out great for me, the stock edits are way faster now, love it.
The only feature I could see as being handy would be after editing or adding a stock level and hitting save, the page loaded next could show that product and its stock/attribute levels. That might be tricky though I dont know.
Thanks for this update, Im using it on a live site with no problems.
Bookmarks