- Posts: 69
- Thank you received: 1
Stock Report
Please Log in or Create an account to join the conversation.
By creating a plugin a report for the product stock will be possible.
If you don't receive the mail for the out of stock products, it's probably because your cron is not configured correctly.
Please Log in or Create an account to join the conversation.
Regarding cron:
Checked my cron and it appears to be configured correctly using the hikashop cron setup. I have several out of stock products with 0 quantity including 0 in some variants. I also have a waitlist test email, but I'm not getting the email. I've set the cron url to SEF url because we are using sh404. When I manually trigger the cron tasks, it appears to check and confirm but no email.
Please Log in or Create an account to join the conversation.
Does your plugin "out of stock" is right published ? What is his configuration ?
Do you have the message "Products quantity checked" when calling manually the cron task ?
Regards,
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.
Please Log in or Create an account to join the conversation.
The plugin work with "exclusive". I mean, it check products which have a quantity lesser than... 0
I have modified the plugin on our side to be "inclusive", it is more logical.
You have to edit the hikashop plugin "out_of_stock" and change this SQL query from
Regards,
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.
Cron job for waitlist:
The problem with waitlist is that if your main product qty is 0 and your variants for the main product have qty in stock, the email will not go out until you change the main product qty to more than 0. Why is that? Some of my products main qty will always be 0 because they have qty in variants. Am I wrong on this?
Please Log in or Create an account to join the conversation.
Each cron plugin have his own "frequency" option.
The cron plugin could be called every hour but each plugin would be independent. So the "low stock" notification could be triggered once a week if you set the right frequency value.
About waitlist notification, the plugin has been updated not so far (in a recent release, the 2.1.1 or the 2.1.2) and the SQL query has been improved.
It reads values of the variant but if the variant stock is "unlimited" (-1), it reads the value of the main product.(b.product_quantity > 0) OR (b.product_quantity = -1 AND b.product_type = '.$db->Quote('main').') OR (b.product_type = '.$db->Quote('variant').' AND b.product_quantity = -1 AND (c.product_quantity > 0 OR c.product_quantity = -1))
Regards,
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.
For waitlist, I will get the update in the next release, I have 2.1.2 now. Also, I understand that variant qty will be updated in the future to tie with other products that use the same variant. So all that will work for me.
Please Log in or Create an account to join the conversation.
I've uploaded a new package of HikaShop with a patch for that.
If you download again the latest version and install it on your website you will get that fixed.
Please Log in or Create an account to join the conversation.