- Posts: 637
- Thank you received: 26
How to unpublished products by default after Product Cron Update
8 years 7 months ago - 8 years 7 months ago #288177
by Lumiga
Kind regards,
Lumiga
-- url of the page with the problem -- :
remedybank.com
-- HikaShop version -- : 3.3
-- Joomla version -- : 3.8.5
-- PHP version -- : 7
Hi Hikashop team,
Every 15 minutes we update the products form our back-end administration too Hikashop with a CSV file. We do not use the product_published field because we want to publish or unpublish products manually in Hikashop.
But when a product is imported for the first time it’s automatically published and that is not allowed in our situation because the price has not yet been added because we want to do this manually.
Is it possible to make an option in the Product Cron Update plugin to set new / first imported products by default unpublished. (No problem if there are costs involved)
Hope you can help us.
Kind regards,
Lumiga
-- HikaShop version -- : 3.3
-- Joomla version -- : 3.8.5
-- PHP version -- : 7
Hi Hikashop team,
Every 15 minutes we update the products form our back-end administration too Hikashop with a CSV file. We do not use the product_published field because we want to publish or unpublish products manually in Hikashop.
But when a product is imported for the first time it’s automatically published and that is not allowed in our situation because the price has not yet been added because we want to do this manually.
Is it possible to make an option in the Product Cron Update plugin to set new / first imported products by default unpublished. (No problem if there are costs involved)
Hope you can help us.
Kind regards,
Lumiga
Kind regards,
Lumiga
Last edit: 8 years 7 months ago by Lumiga.
Please Log in or Create an account to join the conversation.
8 years 7 months ago #288185
by nicolas
Replied by nicolas on topic How to unpublished products by default after Product Cron Update
Hi,
You can modify the plugins/hikashop/datafeed/datafeed.php file of the product cron update plugin and add the line:
$importHelper->header_errors = false;
after the line:
$importHelper->force_published = false;
to deactivate the auto publishing of new products.
We'll look at adding an option for that.
You can modify the plugins/hikashop/datafeed/datafeed.php file of the product cron update plugin and add the line:
$importHelper->header_errors = false;
after the line:
$importHelper->force_published = false;
to deactivate the auto publishing of new products.
We'll look at adding an option for that.
The following user(s) said Thank You: Lumiga
Please Log in or Create an account to join the conversation.
8 years 6 months ago #289243
by Lumiga
Kind regards,
Lumiga
Replied by Lumiga on topic How to unpublished products by default after Product Cron Update
Hi Nicolas,
It's working fine!
Thank-you very much.
I hope it will be a option in the next update.
You only mixed-up the old and new line in your text. It should have been:
You can modify the plugins/hikashop/datafeed/datafeed.php file of the product cron update plugin and add the line:
$importHelper->force_published = false;
after the line:
$importHelper->header_errors = false;
to deactivate the auto publishing of new products.
Kind regards,
Lumiga
It's working fine!
Thank-you very much.
I hope it will be a option in the next update.
You only mixed-up the old and new line in your text. It should have been:
You can modify the plugins/hikashop/datafeed/datafeed.php file of the product cron update plugin and add the line:
$importHelper->force_published = false;
after the line:
$importHelper->header_errors = false;
to deactivate the auto publishing of new products.
Kind regards,
Lumiga
Kind regards,
Lumiga
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.149 seconds