Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin : copy category


Spaceboy

Recommended Posts

Question for the pack : is it possible to copy a category (admin section) to another category ? You only have the "move" option but not the copy like for the products.

 

I'm starting to develop this but I'm wondering if it already exists because it is quite a work as all products part of that category must also be copied into the new category (creation of 1 new category and creation of all the products underneath).

 

Thanks for replying. In any case, I can create a contribution for this one if someone is interested.

 

Didier.

Link to comment
Share on other sites

Hi Didier, this is exactly what I am looking for! I have a big problem with this, as my categories are interlinked and I can only show them under one section (i.e. mens rings need to be under rings and mens gifts, and my wedding section could do with being under the individual headings too - Wedding->Rings & Rings->Wedding to help people find them) - If you have any ideas, let me know and I can definitely use it!! Thanks. (BTW I am using the coolmenu contrib - dont know if this makes a difference.....?)

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Link to comment
Share on other sites

get the multi move/copy contrib. Then when you use the copy to function it will create a link in a new category to the original product. That way it wont create a new product but just create a link to it in another category. I think stock osc has this built in too using the copy to but multi copy/move lets to do tons at once.

If I was crafty, this would be a funny signature.

Link to comment
Share on other sites

I heard of this contribution but you'll have to create first a new category and copy all selected products into the new category (I guess). With the "Copy category" function it will create a new category and link all products (no need for duplicate) to the new category. A nicer development.

 

I will spend some time on this and see what I can do with it.

 

Thanks for your help,

 

Didier.

Link to comment
Share on other sites

Just finished the development..I can now copy a category with all its products.

 

A new category is created, all category_descriptions are copied and all products of the old category are linked to the new category.

 

I will soon publish it as a contribution.

 

Didier.

Link to comment
Share on other sites

Hi Didier - sounds fantastic - just one small question; if you copy a category, then add new products to the original, will they be copied accross? I know I may be asking loads of somebody who is already giving (or offering) a fantastic timesaver, but thought it may be better to consider during development!! Thanks a bundle, and good luck with the coding - really looking forward to seeing the result! :D

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Link to comment
Share on other sites

  • 2 weeks later...

Well, here it is : I just posted the contribution "Copy Category" v1.0

 

Link : http://www.oscommerce.com/community/contributions,2215

 

@niknakgroup : good remark but OSC cannot know in advance if your new product must also be "linked" to all categories it is belonging to. So if you add a product to a copied category, you will still have to duplicate it in all the categories you want.

 

@ pewe : this is a complex matter as you must create a new product with all it's "child" tables like options, etc. As I do not need to create new products, I did not integrate this in version 1.0. Sorry.

 

In case you should have questions, please start a Support thread for this contribution.

 

Didier.

Link to comment
Share on other sites

I did not integrate this in version 1.0. Sorry.

:(

 

With over 200 products to go into 6 different categories and each with 3 sets of 20 attributes I was hoping it might be possible to save my poor fingers from getting keyboard wearout.

 

Thanks for replying anyway Spaceboy.

Link to comment
Share on other sites

;) Hi Didier

 

Thanks for posting, and for keeping us all up to date. Have just downloaded and will be integrating over next few hours/days as time permits. Will keep you posted.....

 

Many thanks for the effort and persistence you have put into this, people like you help keep the spirit of osCommerce truly alive and kicking B)

 

Tony

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Link to comment
Share on other sites

I did not integrate this in version 1.0. Sorry.

:(

 

With over 200 products to go into 6 different categories and each with 3 sets of 20 attributes I was hoping it might be possible to save my poor fingers from getting keyboard wearout.

 

Thanks for replying anyway Spaceboy.

hmmm. my wife who is populating the shop is having > 700 products in ~20 categories and each product has 4-5 attributes. She only uses "Attributes Copier" when she creates a new product to make the copy of attributes easier. She does only take links of products and no duplicates.

 

But she is adding only product after product, not all at the same time. Have you tried "EasyPopulate" or something like this ?

 

Why do you want to copy a product instead of linking to it ?

 

Didier.

Link to comment
Share on other sites

;) Hi Didier

 

Thanks for posting, and for keeping us all up to date. Have just downloaded and will be integrating over next few hours/days as time permits. Will keep you posted.....

 

Many thanks for the effort and persistence you have put into this, people like you help keep the spirit of osCommerce truly alive and kicking B)

 

Tony

Thanks Tony...

 

This is my first contribution. After installation of more than 20 modules, I thought it was time to contribute personally to this fabulous OSC.

 

Please inform me if you should have any troubles installing it.

 

Didier.

Link to comment
Share on other sites

  • 3 years later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...