I seem to have run into a problem.

I've installed both the uc_stock_notify module as well as the uc_bulk_stock_updater module. If I go product the product page and amend the stock levels there, notification is being sent out. However, if I update the stock levels with the bulk stock updater, no email is being sent out.

I'm not sure if this is because the bulk stock updating isn't triggering something that it should, or because the stock notfiy isn't monitoring what it should, but thought it best to start here.

Thanks

Comments

stewart.adam’s picture

Stock notifications are sent out when the a product's stock edit form is submitted, or whenever hook_uc_stock_adjusted() is triggered. I haven't verified this, but given that emails aren't being sent out after using the bulk updater I'm going to assume that this is uc_bulk_stock_updater's fault for not calling hook_uc_stock_adjusted() on each of the products it adjusts.