Skip to main content

minimal-stocklevel Mass action

More
8 years 7 months ago #288270 by Joomill
-- HikaShop version -- : 3.3.0
-- Joomla version -- : 3.8.5

I would like to send a weekly list of products below minimal-stocklevel.
This stocklevel should be set per product and i have created a customfield for it minimal_level_value

The mass action says wrong value (see attachment)

Attachment not found



What can i do to make it work?
Thanks in advance.

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

More
8 years 7 months ago #288296 by nicolas
hi,

You can't use a custom field name in a filter condition. So that won't work.
We'll add that capability to the out of stock plugin for the next version of HikaShop as that's a good idea.
So you'll be able to use it then.
Until then, you can modify the code of the out of stock plugin (plugins/hikashop/out_of_stock/out_of_stock.php) and remove the (int) before the $this->stock_limit
and then enter the column name of your custom field in the stock limit setting of the plugin and it should do what you want.
The following user(s) said Thank You: Joomill

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

More
8 years 7 months ago #288297 by Joomill
Great news!

Thank you nicolas.

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

Time to create page: 0.196 seconds
Powered by Kunena Forum