HOw to set which fields will copy when cloning

  • Posts: 634
  • Thank you received: 16
  • Hikashop Business
8 years 3 months ago #222410

-- HikaShop version -- : 2.6.6
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.45

When I clone a product from the product list in frontend using the + button I get a copy with the same pictures and with no data in the SEO fields.

Some fields get cloned, others not, sure there is a logical pattern for this, but I would like to change it so for example the clone comes empty of pictures.

Also I would like to change which fields get copied and which don't.

where can I change this settings?

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
8 years 3 months ago #222411

Hi,

HikaMarket is using the HikaShop import helper in order to copy a product ; just like HikaShop is doing in the backend for product copies.

$importHelper = hikamarket::get('shop.helper.import');
if(!$importHelper->copyProduct($product_id)) {
So if you have an issue with the copy in the front-end ; you might have the exact same issue in the backend.
And in that case ; best is to create a new topic in the HikaShop forum section for the issue in the HikaShop import helper.

Regards,

PS : HikaShop 2.6.6 is not a valid version number.


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 634
  • Thank you received: 16
  • Hikashop Business
8 years 3 months ago #222437

HikaShop 2.6.6 is not a valid version number.


Yes, this is absolutely true! :cheer:

And thanks for the answer, I will repost this as a HikaShop question.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.057 seconds
Powered by Kunena Forum