}
/**
* Duplicates the category attributes from one category to another
*
* @param int $originalCategoryId
* @param int $newCategoryId
*/
public function duplicateCategoryAttributes($originalCategoryId, $newCategoryId)
{
$this->attributePersister->cloneAttribute(
's_categories_attributes',
$originalCategoryId,
$newCategoryId
);
}
/**
* Duplicates the category product associations from one category to another
*
* @param int $originalCategoryId
* @param int $newCategoryId
*/