Product Cloning is cloning reviews

When cloning a product CS Cart is cloning the reviews for that product too. Imagine a product with 10 reviews, huge duplicate content issue.



Anyone else got this?



Cheers



Steve

It's only duplicate content because you're asking for it. You wanted a clone and now you've got one. Everything associated with the product is duplicated, hence the term 'clone'.

Hey Stellar



I got a fix for it from CS Cart. The client has been using cloning for many years and never considered the reviews getting cloned.



Cheers



Steve

Steve,



Could you please post the fix that CS-Cart provided?



Thanks,



Brandom

I would have posted yesterday but wasn't able to get the code so here it is, from CS Cart support.



In order to implement the request, please replace the following part of code:



function fn_discussion_clone_product($product_id, $to_product_id)
{
fn_clone_discussion($product_id, $to_product_id, 'P');
}




with this one:



function fn_discussion_clone_product($product_id, $to_product_id)
{
// fn_clone_discussion($product_id, $to_product_id, 'P');
}




in the func.php file located in the addons/discussion directory of your CS-Cart installation.