Linda,
Let me know when you got that addon updated with the image.
Printable View
Linda,
Let me know when you got that addon updated with the image.
When I have time I will look into this ...
The download as it is (with the typos) works, of course. :blush:
The problem was mixing four Beyond Compare windows with two kids, one bottle of wine and zero:sleep1:.
Re;
\multi_product_copy\admin\includes\boxes\extra_boxes\
Is there a reason there's a .bak file in this folder?
'multiple_product_copy_catalog_dhtml.php.bak'
Delete it ... it was not meant to be added to the ZIP file ...
I currently use this add-on which is great for copying multiple products to individual categories.
I also use xmasscopy which is great for copying individual products to multiple categories.
What would be ideal is to have this add-on able to copy to multiple categories.
I'm prepared to venture into the code for this, but wanted to make sure that it's feasible. Assuming it is then some tips on where to start would be appreciated.
Hello,
I've installed this and I'm 90% there but I've run into a problem at the confirm stage. My site in v150 and I've followed the instructions in the README file taking into account the version.
The files are uploaded and have been edited. The SQL patch is applied. The option displays in the Catalog menu and I can use the multi_product_copy.php to find the products ready for moving i.e. Preview works fine and there they all are pre-checkmarked, but when I click the confirm button I get a blank screen.
So multi_product_copy.php?action=find works but multi_product_copy.php?action=confirm doesn't
What do you suggest I check?
Linda,
I know you helped me on this area. Will this new mod also delete certain products in a category? if so, how?
Nevermind I got it.
I believe this module is going to do wonders for my busy store if I can use it. I do have a few questions:
- Is this module located in the plugins yet? Or is the latest version post #43 (v1.3.9.2) only located in this thread?
- Is it possible to link one category directly to another (and all the products in that category)?
- Will this conflict with the mod: Quick Updates v2.06?
I am looking to link one category directly to another. So I have installed this mod: Copy Categories v.1.6 but it just copies and does not link products. I have a thread over here: http://www.zen-cart.com/showthread.p...85#post1165285
I understand the difficulty of what I am asking, but since it's available to individual products (multi-category linking) I though it might be available for categories to do the same. That is have one category link directly to another category (the master) and all it's products.
This is perfectly awesome!
Exactly what I needed and worked from the second I uploaded it.
THANK YOU!
Hi Linda,
I am still loving this mod that you made for me. But I have a question will this mode delete a certain selected products?
This is designed to Copy, Move and Delete Products ... what is it that you are trying to do that isn't working? :lookaroun
NOTE: be sure to backup your database before using this ...
This is an update with the all of the fixes posted so far, I think, and the addition of images on the Products ...
Linda - Is this what it's supposed look like?
Attachment 12025
Ignore my post please.
admin/includes/languages/english/multi_product_copy.php
was left out. Sorry
This has never been released just as the download here on post #115 ...
It works great with 1.5.1
Hit Reply and answer the list of information about your Zen Cart installation ...
I'm using v1.5.1 on a Linux server.
What debug logs show up in the /logs when you trigger the blank page?
[04-Nov-2013 13:40:27] PHP Parse error: syntax error, unexpected T_IF in ..../includes/modules/move_product_confirm.php on line 4
Could you post, from the server, the file:
/your_admin/includes/modules/move_product_confirm.php
<-- n00b :unsure:
Not sure how to post from the server....hope this is right:
Attachment 13335
That file is corrupted ...
So it is either bad on the server or some how damaged when you grabbed it ...
If you view your good copy of that file that is on your computer ...
1 How do you view/edit your files
2 What size is that file on your computer
3 what size is that file on the server
4 If you open that file, how many lines are in it
You could download a clean copy from post #115 and unzip that in a separate directory from your site files on you computer to get a valid copy of the file ...
Peek in the:
/admin/includes/modules
and you will see:
move_product_confirm.php_multiple_product_copy
that is an example of what can be used for:
move_product_confirm.php
You are most welcome ... thanks for the update that things appear to be working again ... :smile:
Hello,
Is this still the most relevant file for this add on? I tried installing an older version with no avail and just found this newer file here.
Is this add on still the best option for moving/copying/linking/deleting files? If there is a newer better option, please recommend :)
I've never installed a mod before so I followed the recommendation to a different mod (Apsona) that said to unzip into the admin folder.
That created an entire new (tree?/Directory?) in my zcadmin folder like this:
Attachment 14762
Am I supposed to unzip these files on my computer first then upload each individual file to the folders on my server that they are labeled into in the zip? (keeping folder integrity).
The Apsona install instructions seemed so simple but it doesn't seem that this zip is structured for that extraction type of installation because there is no "admin" folder on my server other than the "zcadmin" and extraction into it would just create an "admin" folder as it did in the picture above under the "multi_product_cop" folder it created. (Unless that's what it is supposed to do?)
I also noticed that I do not have a "boxes" folder on my server under "zcadmin". I see the option on my server to "Create Folder", would I have to do this first? Maybe the instructions in the "Read Me" can be updated with the simplest overview of installing these files? These installs cannot be that complicated, but it will be to someone who has never done one before such as myself.
I have a technical mind, I am an electronics engineer and have played with "some" html, so show me once and I should be able to take it from there. Your help/update is much appreciated! :D
I quoted the wrong post earlier...oops!
Here's some probably needed info:
My site is about a month and a half old.
ZenCart v1.5.3
Server OS: Linux 3.12.32.1415814620
MySQL 5.5.40-36.1-log
PHP Version: 5.4.34 (Zend: 2.4.0)
Multi Product Copy v1392 - (installed apparently improperly).
Easy Populate 4
What I'm trying to accomplish:
I paid someone to launch my site and import some products. After some research I probably could have done it myself and saved the $$ but what really gave me the confidence was when I downloaded my products from Easy Populate and got the layout for import (v_products_model, v_status, etc).
I have recently updated my site with 3,000 products into a category I named "Uncategorized Items". Some of these are "on" (1), most are "off" (0). With some research I found I could write an SQL to turn all (0) to (1) which would save me tons of time as I was doing these 1 by 1 in ZenCart. I have not put in that script yet because when I opened the SQL there were warning signs about backing up my server and that made me a bit uneasy so I researched. I have since backed up my server with a tool from my hosting company (JustHost).
I will try the script after I'm done figuring out this Multi Product Mod (or something better that is recommended).
Back to Multi Product Mod:
I need to be able to add multiple products to one category as streamlined as possible and believe this is the tool I need.
I installed the earlier version and you saw the outcome. My last post shows my steps and what happened (I may delete that post and keep this one to avoid confusion). Here it is again to keep in one post:
I've never installed a mod before so I followed the recommendation to a different mod (Apsona) that said to unzip into the admin folder.
That created an entire new (tree?/Directory?) in my zcadmin folder like this:
Attachment 14763
Am I supposed to unzip these files on my computer first then upload each individual file to the folders on my server that they are labeled into in the zip? (keeping folder integrity). If yes, there is no "admin" folder on my server, only the "zcadmin" (and wp-admin under the "public - html" folder).
The Apsona install instructions seemed so simple but it doesn't seem that this zip is structured for that extraction type of installation because there is no "admin" folder on my server other than the "zcadmin" and extraction into it would just create an "admin" folder as it did in the picture above under the "multi_product_cop" folder it created. (Unless that's what it is supposed to do?)
I also noticed that I do not have a "boxes" folder on my server under "zcadmin". I see the option on my server to "Create Folder", would I have to do this first (create "boxes" folder)? Maybe the instructions in the "Read Me" can be updated with the simplest overview of installing these files? These installs cannot be that complicated, but it will be to someone who has never done one before such as myself.
PS: I did a search for installing a mod, that's how I found Apsona install.
Very much appreciate your assistance! :)
Someone please delete my posts above, thanks.
Doesn't seem that anyone reads these posts...Can someone delete my posts above?
I did a search online and found some information that helped me with installing the php files and deleting the folders I installed in the wrong place.
Move Copy Delete Install:
I made the 3 necessary edits to the php files as instructed in the readme.txt.
I've never installed a SQL Patch so I did a search and found I could upload it in "Install SQL Patches" under "Tools". I did that but got a blank page with an Error Message.
I then copied the text in the .sql file into the field and clicked "send". I got a blank page with an Error Message.
I looked into the "Log" file on my server and saw several of this exact error:
[10-Dec-2014 21:16:52 America/Denver] PHP Fatal error: 1062:Duplicate entry 'MultipleProductCopy' for key 'page_key' :: INSERT INTO zen_admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('MultipleProductCopy', 'BOX_CATALOG_MUTLI_COPY', 'FILENAME_MULTI_COPY', '', 'catalog', 'Y', 30); ==> (as called by) /home1/pluresse/public_html/zcadmin/sqlpatch.php on line 304 <== in /home1/pluresse/public_html/includes/classes/db/mysql/query_factory.php on line 155
Just before these logs is this one log:
[10-Dec-2014 20:09:41 America/Denver] 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 'multiple_product_copy.sql' at line 1 :: multiple_product_copy.sql; ==> (as called by) /home1/pluresse/public_html/zcadmin/sqlpatch.php on line 304 <== in /home1/pluresse/public_html/includes/classes/db/mysql/query_factory.php on line 155
When I bought the "package" of starting this online business, I had no idea that I had to become a Software Programmer. This part wasn't mentioned. I don't mind learning new skills, at all. I only wish I would have been told that I would have to learn this side of online retails sales so I could have properly measured my short term goals. I appreciate ANYONE's help here in making this install work. Thank you in advance.
Ok, I have never used PHPMyAdmin and tried to sign in to it but couldn't.. not realizing I had to use the original password set by the company that put up my site. I got in. I started clicking around in PHPMyAdmin, loaded my Database. I tried reinstalling the SQL file from the zip and got the error that MoveCopyDelete already existed. I looked for it, found it and noticed that in the "Language Key" column it says "BOX_CATALOG_MULTICOPY".
This lead me to go back to my zcadmin and look under the "Catalog" tab and guess what....there it is.
I've been looking under the "Tools" tab for this the entire time. I clicked on it and it opened.
Now to see if it works.
It seems to be working. I am moving a few thousand items from one category to different categories throughout my site. So far I've been getting an Error (Timed Out) when I was trying to move hundreds at a time. I got up to 50 items without a problem then started getting the time out error with just a few items.
I found that I could just reload the page and click on "resubmit info" (something like that) and it would continue with the process and move the items. I have not needed to do more than 50 items with this new "bypass" I am using of reloading the page but just want you to know that time out error is there.
So far moving items is the only need I have for this mod at the moment. I'll update if anything else comes up.
I want to thank everyone that responded and made suggestions to getting this resolved.
awesome. :laugh:
HELP I cannot remember where to access this move function
Thanks for the update that this is helping you ... :smile:
Many thanks for producing this.
Everything works fine ... except ... it only ever copies (using duplicate option) just one product!
the search aspect finds, say, 10 products.
they all have their tick box checked.
then only one product is copied to another category.
i've tried switching off copying attirbutes etc, makes no difference.
any thoughts?
Absolutely fantastic, saved me ages deleting products one by one.
Many thanks.
In this line
PHP Code:
if (($keywords == '') && ($category_id == '') && ($manufacturer_id == '') && ($min_price == '') && ($max_price == '') && ($min_msrp == '') && ($max_msrp == '') && ($product_quantity == '')) {
$min_msrp and $max_msrp are not defined anywhere.
As I use this regularly, I hope to make this suitable for public consumption and get it into core, sometime this year, maybe.
1) Why was it never done before?
2) Has anything else been done behind the scenes to add to what is here/available?
Just wondering, but has this been updated/are plans to update for 1.5.5/1.5.6?
I need this, so I guess I will be doing the donkey work.
Watch the repository spring into life shortly on my Github....!!!
I am watching with baited breath. I'm usually pretty good about figuring out how to get something to work if it's for the same version of Zen I'm on... Absolute bunk at rebuilding something from the top down. I've got categories in my shop that have 7+ pages of disabled products in some cases that I am desperate to clean out, and am doing everything I can to get out of doing it one at a time. :laugh::cry:
Well, I just copied my file there as it seems to work. You can have a go with that ON YOUR DEVELOPMENT SERVER and report back to to Github. I'm busy with other issues for a couple of days at least.
Did as you said, copied your updated file and so far haven't seen any issues crop up. I've poked at the various spots the module touches and everything still looks to be in place.
[FONT=Verdana, Geneva, sans-serif]I would only expect problems with php 7.2+, not ZC15x. But still, there are php notices to resolve and the structure, before it can go into core.
[/FONT][FONT=Verdana, Geneva, sans-serif][/FONT]
Yeah. Obviously I'm not going to just throw it into our mainline server as it is, but it does make me happy to be able to see 20+ products disappear from the catalog at the press of a single button (minus all the radio buttons to check off), even if it is just the test server.
Apart from bugs, please also post in Github any improvements you think could be added.
If you do a lot of multiple stuff, you may also benefit from a major mod I have for products to categories.
The original mod is here
https://www.zen-cart.com/showthread....Manager-Sorted
and an updated/not finished/not submitted but working version is in it's own branch (off Zencart) in my Github.
Multiple Duplication/with specials and featured settings.
As part of a complete revision of this mod, I find that this aspect cannot have worked....unless someone can tell me it did/does?
Product duplication uses an included module: copy_product_confirm.php, which duplicates a product and optionally duplicates metatags, attributes, linked categories and quantity discounts.
At the end of this script it redirects to the product-category listing and so never returns to this mod to
a) add the specials and featured settings to the new product
b) continue duplicating more products.
If anyone has this aspect working, please confirm with what version of zen cart.
Ignore previous post...brain in neutral.
Ok, after an totally unjustified amount of fettling, I have a new version of this, that now requires community testing, which means NOT ON YOUR PRODUCTION SITE!
https://github.com/torvista/Zen-Cart...py-Move-Delete
Testing your latest version on ZC157. Do you want errors / bugs listed here or in Github?
environment Dev: Zen Cart 157; Apache 2.4.46; PHP 7.3.21; MySQL 5.7.31; Windows 10
Github thanks.
Now reworked as an encapsulated plugin.
https://github.com/torvista/Zen_Cart...py_Move_Delete
It's in the downloads now, but I'd always compare that to what's on Github.
https://www.zen-cart.com/downloads.php?do=file&id=2404