Will Quick Orders be upgraded for ZC v1.5 soon?
Printable View
Will Quick Orders be upgraded for ZC v1.5 soon?
Hi,
I am running zencart version 1.39h with quick updates version 1.3 and what I want to know if it is possible to add and extra column for stock location. We have at present added another field in the product section for the location of stock but would really like to get quick updates to work with the location field as well.
If someone can point me in the correct direction it would be a great help.
Bruce,
If the custom field you are looking to add is in the products table, it should be rather simple to add. You should find a similar column with a data type that is the same as the one you are using, and then use that to model your edits.
You will basically duplicate the code and then adjust for our table column name.
Did that make sense??
Quick updates is probably the most useful add on for us. We use it everyday to update by manufacturer, to know the stock and place orders by manufacturer and many other things. Am I missing some newer feature in Zen Cart? Or is there some other add on that does this? We would have a very hard time running our site without it.
Any thoughts?
Thanks
Yeah... I'm thinking of downgrading from 1.5 if we can't use this module... Any hope to get this working?
Yes it's just admin page registration that is needed; I looked at how to do this but would take me time to learn so have asked client if they want to pay me to do it.
I have tested Quick Updates in 1.5.0 and works fine you just need to manually go to the pages:
main: http://www.yourdomain.com.au/admin/quick_updates.php
configuration: http://www.yourdomain.com.au/admin/c...ion.php?gID=31
This is such an exceptional module! Many thanks to Paul Mathot. According to Paul the change should be simple, that of course is relative. Thanks again for this module!
Anyway, I just wanted to reiterate that quick updates V2.05 does appear to be functioning properly with ZC1.5. Proper registration is what’s needed. After a full install of QU2.05 on ZC1.5 and tinkering with the values (may have created a record) in the following tables appears to have QU2.05 showing the ‘Set Quick Update Options’ under configuration and ‘Quick Updates’ under catalog.
I have 1 Quick Updates record in configuration_group, 1 record in admin_pages, 17 records in configuration.
Hope this helps.
Hey Paul!
I sat down and did the work to update 2.05 to work with 1.5. Basically, I adopted the same method I use for EP4. So you also preserve the ability to modify your configuration values.
The modifications should work for both 1.39 and 1.5. You just upload the files, go to Catalog > Quick Updates and click on the Install button. Configuration entries are created and so are the proper Admin pages (I hope correctly!).
If you want, I can send you the files and you can update yourself. One thing of note, the old version upgrade sql are all defunct. Let me know what you want me to do.
-chadd
Hey Chadd,
If you can upload the files for everyone to use, that would be great. Perhaps maybe even upload it to the plugin section as a new version.
Thanks.
Well, I screwed up and submitted with the wrong folder (I have a custom version for our company), so I just re-submitted today.
Sorry for the all the mess up! I'm sure people could use this!
-chadd
Quick Updates - Version: 2.06 for ZenCart v1.5 now available in the downloads sections!
Hi,
I just installed Quick Update V2.06 on my Zen Cart 1.5.
I have popup edits enabled, I see the Description Edit icon and hovering shows the description of my product.
When I click to edit it, I get a pop-up page with the following error message:
"The requested URL /zcadmin/popup_text_edit.php was not found on this server."
I have looked and can't find this file, although I see some older posts here that make passing mention of it.
How do I fix this?
Thanks
Hi,
A real noob question here...
I have QU 2.06 loaded on ZC 1.5.
I works really sweetly, but I am stumped by how to edit products that have attributes (like size, colour, etc). Some of these attributes change the price, and QU shows only the first item by sort order.
I think I am going to find out that QU is not going to be any use to me for those products with attribute selections ... which would be a pity.
I hope someone can tell me that I am wrong ... and how o handle it...
Thanks
OK ... so I found a copy of popup_text_edit.php .. can't remember where .. but it works fine :)
Hi rubbyrubby,
the popup_text_edit.php can be found here:
http://jandytemplate.googlecode.com/..._text_edit.php
If this does not work, I can paste the code here..
So I have quick updates installed and was wondering if there was a way to blanket update every price on every item at once?
Hey, I installed this mod and It installed correctly but I ended up with a blank screen in my admin section, and when ever I try to click anything in my admin section it remains blank. Has anybody had this problem before? I am running 1.5.1
Attachment 11457
Please help
I just downloaded and installed this module. This file talked about: admin/popup_text_edit.php is not included in the current download in the plugins area (it is missing). I even re-downloaded again to make sure. I took mine from an older version (2.05) and it seems to work.
I have copied over the files but I dont get any option to "install" as per the instructions in Configuration > Quick Updates. Is this just me??
Hi guys...
i'm the same this is my favourite addon:love it..
I 've just up graded to 15.1 and had the same problem no pop_text_edit_php in the latest version so did what another poster done and added the pop_text_edit from 2.05......................
But in the admin area the it seems to work the pop up text screen appears and you can type whatever and save ....but when you go and look in the online store to check the changes, they are not being saved this is only happening in the pop_text area....when I change the price etc this works sweet...
any ideas anyone on how to fix this??
best wishes nixe.x
Dumbo me... got this sorted all working good now....Hitting the save button on the bottom of the description pop up box wasn't enough.. I also have to it the hit the update button at the bottom of quick updates for the savings to be made sooooooooo everything working sweet xx
Hey Everyone,
I submitted an update to include the missing popup text editor. Sorry for the inconvenience!
-chadd
does anyone else out there have the need to see the 'specials price' next to the regular price?? and make it updatable right there without having to go to the products price manager via the $
i would love to see that if anyone has it..
I see when a client who is on the wholesale pricing checks out, the system messes up the tax completely
It show on the invoice zero tax (but tax is set on 14%) then even though it shows zero tax it adds the tax to the product price BUT in the final breakdown only shows tax on the shipment and not the product. But the grand total is correct with tax added.
If I log in with a user who is on the normal pricing then it calculates and displays everything correctly.
I use Zen 1.5.1 and Dual Pricing 2.1
See the two screen shots below:
Attachment 12204
Attachment 12205
Sorry, I posted in wrong thread :shocking:
When I add stock it doesn't change the stock values on the products any suggestions?
I installed this on ZC 1.51. The directions to uninstall were not in the readme file. I tried to remove it using the link on the right side but it failed to uninstall. If I just go through and remove the files that were initially put in there, will that work to uninstall it or will that break things?
Thanks,
Jim
Quick Updates v2.06a
I am using ZenCart 1.5 and have installed Quick Updates and it is working just fine EXCEPT... the description column is so long it is forcing my other columns off the screen and require scrolling, then I can't see the item information. Is there a way to hide the description column or limit the number of spaces that displays?
Thanks.
Attachment 13343
If the above solution doesn't work You could also apply this one:
in /admin/quick_updates.php find:
and replace with:PHP Code:
if(QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
echo '<a href="javascript:textEditFieldID=\'description_' . $products->fields['products_id'] . '\';popupWindow(\'' . zen_href_link(FILENAME_POPUP_TEXT_EDIT) . '\');">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', TEXT_HTML_EDIT_DESC) . '</a>';
It's not mine, i just found it out there ;-)PHP Code:
if(QUICKUPDATES_MODIFY_DESCRIPTION_POPUP == 'true') {
//echo '<td class="smallText productsDescription">'
echo '<a href="javascript:textEditFieldID=\'description_' . $products->fields['products_id'] . '\';popupWindow(\'' . zen_href_link(FILENAME_POPUP_TEXT_EDIT) . '\');">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', TEXT_HTML_EDIT_DESC) . '<span class="cssPopup">' . stripslashes($products->fields['products_description']) . '</span></a>';
Now a problem of mine...
every thing work fine... except one single litte damned annoing thing:
If i select a specific category (and this errore happen just with this one) and i try to update anything i got a wonderful:
The funniest thing is that i ge NO error log!!! Nothing! So i really don't have any hint. To make thing worst, the same exact shop with the same exact database in local server WORKS fine!:frusty:Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Configuration problem? Could it be??
Zencart 1.51
Quick Updates v2.06
I have v. 2.06a installed on zc1.5 and it used to work fine. The only thing I have changed recently was turning on ssl in the admin so I could accept credit cards through aim. When I try to update a product it takes me to the admin log in screen so needless to say I cannot use quick updates. I have even reinstalled the php files in case they got corrupted but to no avail. Has anyone had this problem and is there a workaround?
hi, can I add an another category to my products quickly with this module?
Found the answer to both questions.. Will share later.. too MANY changes needed to support a boatload of issues I found.. So much MORE than fixing the description width. Nailing down some other issues:
- Configuration settings that should be in the admin not a separate config file
- Typos and the use of some very awkward language in the admin config settings
- The "boxes" folder (which apparently BLOCKED the admin install from executing in my v1.5.1 store -- need to test again to confirm this)
And the user interface?? Ugly doesn't begin to do this justice..:laugh: I've just now nailed down tweaks to most of the crazy CSS, hardcoded styling, and tables not displaying the correct number of columns (depending on what you turn on/off)..
now all that said..
FUNCTIONALLY, this module is fantastic!!! It does what my client needs most (updating prices en masse) but it does need a little polish and elbow grease.. Gonna be fixin' on this one for my client.. Will share when I'm done..
One thing I haven't figured out though is why the product description does not display consistently.. It displays for some products, but not others..
I know that if I want to do a mass price increase that I have to activate the "Activate/Deactivate Commercial Margin". However this setting appears to do more, and I am not clear on what that is.. So can someone kindly explain to me what the "commercial margin" feature is or what it is supposed to "do".
The help tip when I hover over the information icon in the UI shows this tip:
"Modify by commercial margin, if you check this box, your products will be stroked at the rates given. To stroke to 25%, means that the price is marked up of 33%"
The readme cryptically states:
"3) To make the products_purchase_price and margin feature work "products_purchase_price" (i.e. DECIMAL 15,4) and "products_margin" (i.e. DECIMAL 15,2) need to be added to your products tabel."
What EXACTLY does this all mean?? What is the purpose of this feature??
So here's what I've fixed for my client:
- Correct typos, inconsistent punctuation, inconsistent capitalization usage, and the use of some very awkward grammar in the admin config settings
- Re-ordered some of the configuration items to a more logical order (for example: moved the popup description edit next to the description on/off setting)
- Added better instructions in the configuration setting of the popup edit to WARN shopowners that you should not activate the popup edit without activating the description display. (activating one without the other shifts the column headings so they do not match the data column)
- There is a missing heading column when the description is turned off. Fixed mod code so that the column headings correctly display when the description display setting is set to false (last column heading is missing)
- Deleted the boxes folder in it's entirety as it is not needed AT ALL for v1.5.x
- LOTS of cleanup of the layout look
- Fixed the product description layout so it STOPS pushing the entire layout off the screen (there is a no-wrap style in the stylesheet)
- Removed hardcoded text alignment from EVERYWHERE (if needed text alignment should be in the stylesheet)..
frankly IMHO all of that text centering did not look good and made the layout look dated- Removed a LOT of odd settings from the stylesheet (right alignment of the product description input field for example WTH???)
- Added IDs and classes to support some of the layout corrections I made
After all of this I had something more esthetically pleasing for my client.. However along the way I discovered a few things that need addressing with this module that I can't address/fix (above my skill level to fix)
- The popup edit feature is nice, but possibly over engineered.. The display of the store side view product description is wholly unnecessary IMHO. a simply edit button to open the popup window is really all that's needed for this feature.. Even IF the store side view of the product description is a feature that most users desire, it should be an admin configurable item to turn on/off the product description display AND it needs work as it certainly doesn't work consistently in my testing.. MANY of my clients product descriptions when the popup edit feature is turned on either did not display at all or only partially displayed.. (for example the last line of the product description is the ONLY thing you see) I won't even begin to cover the CSS conflicts that occur because of classes and IDs from the product description sharing the same names as this mods classes and IDs..
- The editor dropdown doesn't work.. It defaults to the CKEditor (my client's default editor, yet the editor doesn't render for the product description field (which is where I'd expect to see it) Tried forcing the editor change by changing to the text editor and then changing back to CK Editor.. still no dice..
- The back button on the product preview page SHOULD return you back to the Quick Updates product list.. Instead you are returned to the catalog product list..
Anyway if the community is interested, I'm happy to share my changes as an update to this module.. The admin settings certainly are clearer and the interface works/looks MUCH better.. Let me know if there is interest and I'll bundle up the changes and submit as an update..
Will be submitting this tonight..
History:
~ Fixed the installer files and corrected the admin page registration code (there were some inconsistencies that I corrected).
~ Correct typos, inconsistent punctuation, inconsistent capitalization usage, and the use of some very awkward grammar in the admin config settings
~ Re-ordered some of the configuration items to a more logical order (for example: moved the popup description edit next to the description on/off setting)
~ Added better instructions in the configuration setting for the popup edit to WARN shopowners that you should not activate the popup edit without activating the description display. (activating one without the other shifts the column headings so they do not match the data column)
~ There is a missing heading column when the description is turned off. Fixed code so that the column headings correctly display when the description display setting is set to false (last column heading is missing)
~ Dropped ALL support for Zen Cart v1.3.x. If you are running versions of Zen Cart prior to v1.5.x, you should install v2.06a
~ LOTS of cleanup of the look of the layout as follows:
+ Fixed the product description layout so it STOPS pushing the entire layout off the screen (there is a no-wrap style in the stylesheet)
+ Removed hardcoded text alignment from EVERYWHERE (if needed text alignment/layout/styling should be done in the stylesheet)..
frankly all of that hardcoded text centering did not look good and made the overall layout look dated
+ Removed a LOT of odd settings from the stylesheet (right alignment of the product description input field for example WTH???)
+ Added IDs and classes to support some of the layout corrections I made
KNOWN BUGS I DISCOVERED:
(C Jones 11-29-2013) While making the v2.07 changes/updates, a few things that need addressing with this module were discovered. I can't address/fix these items (above my skill level to fix), but they are worth noting here.
1. The popup edit feature is nice, but possibly over engineered.. The display of the store side view product description is wholly unnecessary IMHO. a simply edit button to open the popup window is really all that's needed for this feature.. Even IF the store side view of the product description is a feature that most users desire, it should be an admin configurable item to turn on/off the product description display AND it needs work as it certainly doesn't work consistently in my testing.. MANY of my clients product descriptions when the popup edit feature is turned on either did not display at all or only partially displayed.. (for example the last line of the product description is the ONLY thing you see) I won't even begin to cover the CSS conflicts that occur because of classes and IDs from the product description sharing the same names as this mods classes and IDs..
2. The editor dropdown doesn't work.. In my testing, it defaults to CKEditor (my client's default editor), yet the editor doesn't render for the product description field (which is where I'd expect to see it). Tried forcing the editor change by changing to the text editor and then changing back to CK Editor.. still no dice..
3. The back button on the product preview page SHOULD return you back to the Quick Updates product list.. Instead you are returned to the catalog product list..
FEATURES THAT ARE NOT WELL DOCUMENTED:
I know that if I want to do a mass price increase that I have to activate the "Activate/Deactivate Commercial Margin". However this setting appears to do more, and it is not clear on what that is.. NO WHERE in the documentation is it clear what the "commercial margin" feature is or what it is supposed to "do". The help tip when I hover over the information icon in the UI shows this tip:
"Modify by commercial margin, if you check this box, your products will be stroked at the rates given. To stroke to 25%, means that the price is marked up of 33%"
The readme cryptically states:
"3) To make the products_purchase_price and margin feature work "products_purchase_price" (i.e. DECIMAL 15,4) and "products_margin" (i.e. DECIMAL 15,2) need to be added to your products tabel."
What EXACTLY does this all mean?? What is the purpose of this feature??
There is also code which appears to support wholesale pricing fields and NO WHERE in the readme is this functionality explained.
Anyone know if there will be a search by UPC for this plugin? I have a upc plugin (upcisbn_product_fields_2-2) installed for ZenCart 1.5.1 but i wanted to be able to enter a upc # and filter out the results. Once the results are filtered via UPC i can then update the inventory. Did anyone apply this feature to this plugin yet or have some idea on how to? I
if there was a solution, it would be posted in the support thread or submitted as an enhancement to this module. since its not I would assume the answer is No. if you want the feature and no one volunteers the code to do it then you will need to consider paying for the services of a developer to do this for you
i have managed to update the plugin to allow filtering a product by UPC code. This is exactly what i needed done. This feature will only work if you're using the plugin (upcisbn_product_fields_2-2). I'm a newbie but i never knew i would have figured this out..wow. Anyone interested that is using the upc product fields plugin. Let me know ill be glad to send the files. :D
Hi Diva,
haven't been on the forum for a while but I read you've made some cool changes to the quick updates mod in the meantime, bravo! I have the v2.06 version installed on my 1.5.1 zencart and it has always worked kind of ok as is, except it would be great if I could just add an extra field for the "Products Expected" date to the mod... is this possible on v2.06, and if so, how would I go about adding this field? Or have you by any chance implemented this feature already in the changes you recently made? It's quite time consuming having to change the expected date for each product every couple of days... and I've searched the forum for a solution, but to no avail unfortunately. Thanks, and keep up the excellent work!
Changes I made: http://www.zen-cart.com/showthread.p...53#post1228553
Where you can get the code with my changes: https://github.com/DivaVocals/zen_QuickUpdates
Hi everyone,
I have quick updates 2.06 in my zencart 1.3.9, how can I update quickly attributes of a product, ex. I increase 10% the price how can I update the value of attributes of this product also?
Thanks for the new version. I've upgraded to 1.5.3 and installed this again, an upgrade from 2.06a. Only issue is the Configuration Menu for Quick Updates does not exist. I tried to Uninstall (using the button in the admin) but that does nothing. Quick Updates page just reloads.
My bad.. Looks like somehow the SQL I was using got lost.. I didn't even have a backup locally.. had to recreate it from my test store.. and haven't had time to test this.. It should work, but your mileage might vary....
Code:SELECT @t4:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Quick Updates';
DELETE FROM configuration WHERE configuration_group_id = @t4;
DELETE FROM configuration_group WHERE configuration_group_id = @t4;
INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
('Quick Updates', 'Set Quick Updates Options', '1', '1');
UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
SELECT @t4:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Quick Updates';
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
('Display the Product ID','QUICKUPDATES_DISPLAY_ID','true','Enable/Disable displaying the Product ID <br /><br />(Default value = True)', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display the Product Thumbnail','QUICKUPDATES_DISPLAY_THUMBNAIL','true','Enable/Disable displaying the Product Thumbnail <br /><br />(Default value = True)', @t4, 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Set Thumbnail Width','QUICKUPDATES_DISPLAY_THUMBNAIL_WIDTH','50','Enter the width for the product image thumbnail. DO NOT enter px or em. <br /><br />(Default value is 50)',@t4,15, NOW(), NOW(), NULL, NULL),
('Set Thumbnail Height','QUICKUPDATES_DISPLAY_THUMBNAIL_HEIGHT','50','Enter the height for the product image thumbnail. DO NOT enter px or em. <br /><br />(Default value is 50)',@t4,20, NOW(), NOW(), NULL, NULL),
('Display & Modify the Product Model Number','QUICKUPDATES_MODIFY_MODEL','true','Enable/Disable display and modifiying the Product Model <br /><br />(Default value = True)', @t4, 25, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Name','QUICKUPDATES_MODIFY_NAME','true','Enable/Disable display and modifiying the Product Name <br /><br />(Default value = True)', @t4, 30, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Description','QUICKUPDATES_MODIFY_DESCRIPTION','true','Enable/Disable display and modifying the Product Description <br /><br />(Default value = True)',@t4,35,NULL,'2013-11-30 09:22:31',NULL,'zen_cfg_select_option(array(\"true\", \"false\"),','General'),
('Activate Product Description Popup Edit','QUICKUPDATES_MODIFY_DESCRIPTION_POPUP','false','Enable/Disable using popup edit link to edit product description. <br /><br />You MUST enable the product description display for this feature to work and display correctly. <br /><br />(Default value = False)',@t4,40,NULL,'2013-11-30 09:22:31',NULL,'zen_cfg_select_option(array(\"true\", \"false\"),','General'),
('Display & Modify the Product Status','QUICKUPDATES_MODIFY_STATUS','true','Enable/Disable display and modifying the Product Status <br /><br />(Default value = True)', @t4, 45, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Weight','QUICKUPDATES_MODIFY_WEIGHT','true','Enable/Disable display and modifiying the Product Weight <br /><br />(Default value = True)', @t4, 50, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Inventory Quantity','QUICKUPDATES_MODIFY_QUANTITY','true','Enable/Disable display and modifiying the Product Inventory Quantity <br /><br />(Default value = True)', @t4, 55, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Manufacturer','QUICKUPDATES_MODIFY_MANUFACTURER','false','Enable/Disable display and modifiying the Product Manufacturer <br /><br />(Default value = False)', @t4, 60, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Tax Class','QUICKUPDATES_MODIFY_TAX','false','Enable/Disable display and modifiying the Product Tax Class <br /><br />(Default value = False)', @t4,65 NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Category','QUICKUPDATES_MODIFY_CATEGORY','true','Enable/Disable display and modifiying the Product Category <br /><br />(Default value = True)',@t4, 70, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display & Modify the Product Sort Order','QUICKUPDATES_MODIFY_SORT_ORDER','true','Enable/Disable display and modifiying of the products sort order <br /><br />(Default value = True)',@t4, 75, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Activate Display of Product Price with Tax Included on Hover','QUICKUPDATES_DISPLAY_TVA_OVER','false','Enable/Disable the display of the product price with all tax included when you hover your mouse over a product <br /><br />(Default value = False)',@t4, 80, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display Link to Product Info Page','QUICKUPDATES_DISPLAY_PREVIEW','false','Enable/Disable the display of the link to the products info page. Product info page will open in a new window/tab. <br /><br />(Default value = False)', @t4, 85, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Display Link to Product Edit Page','QUICKUPDATES_DISPLAY_EDIT','true','Enable/Disable the display of the link to the product edit page. Product edit page will open in a new window/tab. <br /><br />(Default value = True)', @t4, 90, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
('Activate/Deactivate Commercial Margin','QUICKUPDATES_ACTIVATE_COMMERCIAL_MARGIN','true','Do you want that the commercial margin functions to be activated? <br /><br />(Default value = True)', @t4, 95, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
INSERT into zen_admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order) VALUES
('quick_updates_config','BOX_CONFIGURATION_QUICK_UPDATES','FILENAME_CONFIGURATION',CONCAT('gID=',@t4),'configuration','Y',104),
('quick_updates_catalog','BOX_CATALOG_QUICK_UPDATES','FILENAME_QUICK_UPDATES','','catalog','Y',105),
('quick_updates_popup_file_select','BOX_CATALOG_QUICK_UPDATES_POPUP_FS', 'FILENAME_POPUP_FILE_SELECT','', 'catalog', 'N',106),
('quick_updates_popup_text_edit','BOX_CATALOG_QUICK_UPDATES_POPUP_TE', 'FILENAME_POPUP_TEXT_EDIT','', 'catalog', 'N',107);
Thanks for posting, however I get 'WARNING: An Error occurred, please refresh the page and try again.' Here's the log:
[10-Jul-2014 07:58:00 America/Chicago] PHP Warning: mysql_query(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/miashop/public_html/zencart/xxxxx/includes/functions/extra_functions/quick_updates_functions.php on line 48
I also see the opening and closing php tags are missing in reg_quick_updates.php causing the comment to appear at the top of the admin.
Getting ready for vacation.. Not going to be able to mess with this.. If you read the contents of reg_quick_updates.php you'll see it's an OBSOLETE FILE.. so you can either:
- Delete it
- Add the missing opening and closing tags
Suggest seeing if doing either one solves the issue..
Did you take a look at line 48 of the quick_updates_functions.php file??
I won't be able to look at this personally until I get back from vacation..
Okay took a VERY FAST look at it.. download the latest.. replace your reg_quick_updates.php & quick_updates_functions.php files..
Won't be able to do anything more until after the 20th.. If this doesn't work for you, I encourage you to fork the repo and contribute a fix which I'll be happy to merge into the master.. I haven't submitted this to the downloads yet because there are still flaws in this module which I outline here on this support thread and in the readme..
I wasn't clear about reg_quick_updates.php, I did add the missing php tags.
However, I was not able to resolve the sql error, even with your updated file. I'll help and test any changes once you get back and can take a look.
includes/functions/extra_functions/quick_updates_functions.php had an extra semi-colon at line 48 (hence the error)
I do not see missing opening and closing php tags in includes/functions/extra_functions/reg_quick_updates.php
I am not sure why you can't get v2.07 to work.. I have it working fine on the test store I installed this on.. It's a Zen Cart v1.5.1 store so that may be the issue for you if you are using v1.5.3. That said I did make some clean-up changes to the file in Github repo to make it clear that several original module files have been rendered obsolete.. (changes/updates to definition files, but mostly removing all of the files that supported that silly pop-up edit crap) So you might want to take another looksee..
https://github.com/DivaVocals/zen_QuickUpdates
I am using 1.5.3 and that does seem to be the issue. When installing the configuration keys, I get:
[21-Jul-2014 09:54:23 America/Chicago] PHP Warning: mysql_insert_id(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/miashop/public_html/zencart/ADMIN_NAME/includes/functions/extra_functions/quick_updates_functions.php on line 16
Exactly! With the caveat that you'll need a
statement if the processing occurs within a function.Code:global $db;
and THAT's where you lost me..
Drat!!! JUST when I thought I was getting it..:laugh: going back to the lab to see if I can figure out the answer on my own.. :smile:
Edited to Add:
So altogether now..:laugh:
Code:function install_quick_updates() {
global $db;
$db->Execute("INSERT INTO ".TABLE_CONFIGURATION_GROUP." VALUES ('', 'Quick Updates', 'Quick Updates Configuration', '1', '1')");
$group_id = $db->Insert_ID();
$db->Execute("UPDATE ".TABLE_CONFIGURATION_GROUP." SET sort_order = ".$group_id." WHERE configuration_group_id = ".$group_id);
if (function_exists('zen_register_admin_page')) {
if (!zen_page_key_exists('quick_updates_config')) {
zen_register_admin_page('quick_updates_config', 'BOX_CATALOG_QUICK_UPDATES','FILENAME_CONFIGURATION', 'gID='.$group_id, 'configuration', 'Y', 103);
}
}
Yes:clap:
Hey Diva! You have a LAB?!?! LOL. I have a living room with too many computers! Got a letter from the electrical company telling me I use TWICE as much electricity as my neighbors. Go figure!
Anyway! I looked at your github updates...
Are you going to update the release for 1.5.3 here?
Will QuickUpdates still be backwards compatible?
Are you going to update the version number?
-chadd
Opps, my bad. I should have read back a few more pages. Confused myself ... my own experimental version of QuickUpdates is also v2.07! :p
Perhaps too late if you already submitted, but since you're dropping support for previous zencart version, mayhap a change to v3.0?
Just thinking out loud...
When I get some time in the next week I might update for 1.5.3.. If I do upgrade it, I have NO plans for backwards compatibility. It's JUST too much work and NOT worth my time/effort to maintain "parallell" versions of a module.. -- IMHO folks should simply UPGRADE and stop dinking around.. If they are STILL running <= v1.3.9 they REALLY need to upgrade and stop playing around..
I already updated the version number (v2.07)
That said I will only update my Github repo.. Not ready to submit it to the downloads section as there is still a MESS of crap in this module that needs to be cleaned up before it's ready to "release" IMHO (see below).. Some of these things I've already addressed in the Github repo (all that silly "popup" edit crap).. But this thing still doesn't properly work with the default editor, and the "Activate/Deactivate Commercial Margin" is not well well explained/documented.. Not sure if it works/doesn't work or WTF it's supposed to do..
Sources: http://www.zen-cart.com/showthread.p...54#post1228554
"Activate/Deactivate Commercial Margin" sounds like some long dead contribution... time for the weed whacker! I had a lot of that when I was cleaning up EasyPopulate ... what a tangled mess!
Hi Diva,
Yes, but I'd have to look at the code again. I did add quantity min, quantity units, and then some custom custom fields (UOM, UPC).
Not sure now if Status and Sort Order were already in there now, but I see you have those too. I could have sworn that getting Status to work was a challenge, but you having it working smoothly.
Your description edit feature (no popup) is pretty nice. Much simpler. Did you remove the ability to browse for an image? I didn't seen that.
I thought about adding a delete check box, but then what do you do about linked products? Hmm... so I left well enough along :p
Oh, just fyi. It seems the "Uninstall" button doesn't work... ??
I think custom fields should NOT be included in the base core code. That said a readme instruction for adding them could be included. Not everyone will have/need these custom product fields..
All that popup editing crap was just plan old over engineered crap which was more about flash and less about real needed functionality IMHO.. I don't remember any ability to browse for images..
I imagine that the functionality would be the same thing you do about linked products when deleting them from the admin product listings..
Right and this is a minor thing to address in the scheme of things since pricing is incorrectly adjusted using this module for products priced by attributes. I think this is a BIGGER priority to add to the module versus fixing the uninstaller.
Upgraded from 2.06 to 2.07 today on a 1.5.3 site. Only problem I had was 2.06 related: the GD uninstall button would not work so had to manually remove old configuration keys using phpMyAdmin.
Subsequently 2.07 installed just fine and works a treat.
Thanks Diva :hug:
Cheers / Frank
Goodie goodie - just pulled it :thumbsup:
Compared 2.08 to 2.07 and noted that the files
admin/includes/functions/extra_functions/quick_updates_functions.php
admin/includes/functions/extra_functions/reg_quick_updates.php
have been made obsolete.
If I understand it right the update procedure (2.07 > 2.08) is meant to be
1. Uninstall 2.07 using the 'Uninstall' button in admin (ofc backup first....)
2. delete the 2 files mentioned above
3. upload the 2.08 file set (ofc rename the admin folder first....)
4. log into admin again etc etc
And, if needed, use the included uninstall.sql to remove 2.08 ??
Sorry to be a PITN (medically defined as the milder form of PITA :p) but couldn't find that info in the readme's.
Cheers / Frank
Thumbs up :thumbsup::thumbsup: on all counts!
On a local 1.5.3 clone I did an upgrade 2.06 > 2.08 as per the (old) instructions plus deleting the 2 files mentioned in my earlier post, namely
admin/includes/functions/extra_functions/quick_updates_functions.php
admin/includes/functions/extra_functions/reg_quick_updates.php
If they are not deleted then you get 2 entries of 'Quick Updates' in Admin > Catalog
Just a minor bit: noted that in the file
admin/includes/languages/english/quick_updates.php
line 24 still shows version 2.07
Did a test run with products priced by attributes (quantity discounts) and all prices update as expected!
Great job Diva!
Cheers / Frank
Installed v2.06a to ZC1.5.1. Generally work as should but in some point stopping update data. For example I trying change sort orders for products in large directory. After two-three saves it stopping change the data. Is it any solution?
Thanks
1. Check out the Runtime Configuration section of the PHP manual - post_max_size and max_input_vars.
2. If you are using Suhosin with Hardened PHP, check suhosin.post.max_vars and suhosin.request.max_vars.
3. Better use ajax editors ;)
Error report,Please help me out
I installed quick_updates-v2.06a with zen-cat 1.54,both install no problem. it's works.
In our admin>catalog>quick updates page,we have a red message
“Quick Updates Configuration Keys Not installed. Please install your configuration by clicking Install”
But when I clicked the install,got a blank page with "WARNING: An Error occurred, please refresh the page and try again."
So then I go to my logs to check the problem,I copy the debug message here:
[05-Feb-2015 03:14:37 America/New_York] PHP Warning: mysql_insert_id(): Access denied for user 'root'@'localhost' (using password: NO) in /home/playscom/public_html/demo/admin/includes/functions/extra_functions/quick_updates_functions.php on line 40
[05-Feb-2015 03:14:37 America/New_York] PHP Warning: mysql_insert_id(): A link to the server could not be established in /home/playscom/public_html/demo/elocin2/includes/functions/extra_functions/quick_updates_functions.php on line 40
[05-Feb-2015 03:14:37 America/New_York] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE configuration_group_id =' at line 1 :: UPDATE zen_configuration_group SET sort_order = WHERE configuration_group_id = ==> (as called by) /home/playscom/public_html/demo/admin/includes/functions/extra_functions/quick_updates_functions.php on line 41 <== in /home/playscom/public_html/demo/includes/classes/db/mysql/query_factory.php on line 155
DivaVocals's Avatar ,Nice to you once again. Thanks for your quick reply:smile:
This is why I tell folks to READ through the support threads.. :smile: I get flak for it, but it is the truth..
if you look at the TOP of this page you will see a quote from a previous post which eludes to deleting the file that the error message you got complained about.. I don't have time to download it and look at this right now, but are you UPGRADING this module from an older version of it?? If so I KNOW I included instructions in the readme to remove it..
Finally (and in the name of WHY you should read through the support thread) in that same post at the TOP of this page we are discussing a NEW version of this module.. if you page back you'll find the link to it..
Don't suppose anybody encountered this error at all with the 2.07 version?:-
I got a similar issue with another module, so I know it is not common and doesn't happen to everyone. Namely the RMA module. Thanks in advance for an pointers. I get the 'warning: errors' almost blank admin page. I got the above error snippet from a error log. If I deleted the auto loader file in the release I can use the admin as normal.PHP Code:
1136:Column count doesn't match value count at row 1 :: INSERT INTO zen_configuration VALUES
Thanks for your help,When I readed all information in this support threads,fixed this problem,but now have 2 of "quick updated" tag in my admin>catalog dropdown.
Do you know how was that happen?