- Posts: 640
- Thank you received: 16
HOw to set which fields will copy when cloning
- PeterChain
-
Topic Author
- Offline
Less
More
10 years 9 months ago #222410
by PeterChain
HOw to set which fields will copy when cloning was created by PeterChain
-- 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.
-- 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.
10 years 9 months ago #222411
by Jerome
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.
Replied by Jerome on topic HOw to set which fields will copy when cloning
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.
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.
HikaMarket is using the HikaShop import helper in order to copy a product ; just like HikaShop is doing in the backend for product copies.
Code:
$importHelper = hikamarket::get('shop.helper.import');
if(!$importHelper->copyProduct($product_id)) {
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.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
10 years 9 months ago #222437
by PeterChain
Yes, this is absolutely true!
And thanks for the answer, I will repost this as a HikaShop question.
Regards,
Replied by PeterChain on topic HOw to set which fields will copy when cloning
HikaShop 2.6.6 is not a valid version number.
Yes, this is absolutely true!
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.169 seconds