We are working on a site where we would like to change the logic that used when deciding whether a product is available, and therefore whether emails should be sent out. Currently there's no clean way of doing this without modifying the module directly. If the query that is used inside commerce_stock_notifications_cron was tagged (https://www.drupal.org/node/310077) then we could apply our changes cleanly with a separate module.

Patch attached.

Comments

leewillis77’s picture

Status: Active » Needs review
StatusFileSize
new574 bytes
rajeevk’s picture

Assigned: Unassigned » rajeevk
StatusFileSize
new574 bytes

Added patch for the same diff..

zvonimirr’s picture

Status: Needs review » Fixed

  • zvonimirr00 committed 0feb286 on 7.x-1.x authored by RajeevK
    Issue #2402429 by leewillis77, RajeevK: Allow cron query to be altered...
zvonimirr’s picture

Status: Fixed » Closed (fixed)