Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Copying Products from one category to another ?

Copying Products from one category to another ?

Locked

Views: 3,435

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
21 Sep 2006, 11:43 PM
#1
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Copying Products from one category to another ?

Is there a way to copy hmmm masscopy (and massdelete) products from 1 category to another without them being linked ?
My problem is that when a product is clicked the prev/next buttons link to products in
same category

I have Cat 1 with SubCat 3 and SubCat 4 all my products in 3 and 4 are coppied to Cat 1

When browsing in Cat 3 and you click on an item it shows the item being in Cat1 and not 3. so when clicking next/prev. button it goes through Cat 1 (which is SubCat 3&4) and not only 3.

so my idea would be to copy ( as opposed to them being linked) all products so when selected in whatever category it'll keep browsing there instead of going to another cat.

21 Sep 2006, 11:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

What version of Zen Cart are you using?

I am flipping through a Category of Linked Products via the Product Price Manager or Attributes Controller and stay in the same Category ...

I cannot reproduce this error ...

21 Sep 2006, 11:57 PM
#3
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

1.3.2 you can try my site to see this

22 Sep 2006, 12:00 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Are your Products imported or all were added manually?

22 Sep 2006, 12:07 AM
#5
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

some imported from 1.2.7d to 1.3.0 then 1.3 (and 1.3.5 separate dir.)
and then some added manually

22 Sep 2006, 12:08 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Could you peek in your products table via phpMyAdmin and make sure all products have a master_categories_id set?

22 Sep 2006, 12:13 AM
#7
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

yeah they all have 3,4 etc. none set to 1 or any other simular situation.

22 Sep 2006, 12:16 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Okay ... I need to peek and see what's up ...

If you could PM me an Admin URL, login and password ... and where you are having this issue in your Admin ... I will peek when I get a few minutes and see if I can spot anything ...

22 Sep 2006, 12:26 AM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

You have Categories and Products mixed in together ...

Categories hold Categories

-- or --

Categories hold Products

You cannot have both Categories and Products in the same Category as strange things will happen ...

Does this problem only exist where you have these mixed up like this?

22 Sep 2006, 12:34 AM
#10
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

well in 1.3.5 i have a separate category where i listed items from 3&4 among others and also it seems to jump to the original cat. instead of staying consistant in that cat.

you can see it here you'll notice that as soon as you click on an item it switches to the original category of the item.

22 Sep 2006, 12:39 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Get those Categories out of Categories that hold Products and this should fix your issues ...

That is one of the reasons you will notice that when a Category holds a Product the New Category button is gone ... and when a Category holds a Category the New Product button is gone ...

This breaks the logic that has been there for some time that some, by coincidence have gotten away with, but the more the databases are used and rearranged etc. the more apparent the issues of mixing these together start to become apparent and things do not work correctly ...

22 Sep 2006, 12:41 AM
#12
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

Thanks for the help !

22 Sep 2006, 12:43 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Let us know if that fixes things for you ...

Also upgrade to v1.3.5 ... there are a number of fixes that you really want to get from bug fixes to security issues ...

22 Sep 2006, 12:52 AM
#14
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

actually one more question

is there an easy way to delete all items in a cat. ?

PS i'm currently working on switching to 1.3.5 that's what all the commotion and fixing up things ios all about :lookaroun

22 Sep 2006, 12:57 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Delete the Category ... Delete the Products ...

Be real careful on this with your setup of mixed products and categories and linked products ...

Backups are your friend ... lots of backups between each step ...

22 Sep 2006, 1:11 AM
#16
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

ok... so i deleted/moved the categories and then moved some more

still doesn't seem right...

i have cat 3 and cat 4 with products in them and then cat. 21 linked with all products from 3&4 yet still if you select an item in cat 21 it jumps to 3 or 4

maybe i should just keep them separate for now :lamo:

22 Sep 2006, 2:50 AM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Can you turn off the SEO crap so I can see what I am doing ... it is making me dizzy and I cannot tell if it is the cause here ... :blink:

22 Sep 2006, 12:08 PM
#18
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

sorry i was out for a while...had to get some sleep.

SEO is off and it seems to be working fine. Must be something with SEO

22 Sep 2006, 1:17 PM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Copying Products from one category to another ?

Thanks for the update that your Add-on was the cause of this issue ... :smile:

I could not reproduce it on the clean Zen Cart ...

22 Sep 2006, 2:43 PM
#20
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

Re: Copying Products from one category to another ?

Linda,

Thank you very much for your help !

The SEO seems to cause this even in 1.3.5. i'll address this issue in that thread for now and try to fix it.