Approach 2: Notifications through Backend Configuration (Using Flow Builder)
This approach allows you to control the notification process more dynamically through the backend by enabling a setting called "Using Flow Builder".
Note that when using Pickware ERP it is advisable to use the scheduled task instead, due to the fact that pickware does not trigger stock changes like Shopware does. We try to say compatible and up to date but cannot guarantee every plugin version is compatible with every Pickware ERP version.
How It Works:
Create a new Flow
Navigate to Settings > Flow Builder
Click the "Add Flow" button in the top right corner
Give the flow a name e.g. "Back in stock notification flow" and set it to 'active'
Open the "Flow" tab and select the "Back in stock" trigger
Add the "Send mail" action and select the back in stock mail template
Now safe the flow and double check it's enabled
Enable "Using Flow Builder":
- Navigate to the backend of your website where the plugin is installed.
- Locate the switch labeled "Using Flow Builder".
- Enable this switch as per the screenshot: https://prnt.sc/tRktR-NfMhsG
- When the switch is enabled, the Scheduled Tasks will automatically be disabled.
- Once Flow Builder is enabled, you can create a new flow for the "Back in Stock" notification.
- The flow will automate the process of sending notifications to customers when the product is available again.
- To create a flow, please refer to the reference video: https://www.awesomescreenshot.com/video/34952962?key=585b1ffb846878895cb4c92c02f2f60f
Approach 3: Notifications via Command Line
This approach allows you to manually control the notification process through the command line. If, for some reason, your scheduled tasks are not working and emails are not being sent, you can use this method to trigger the email notifications manually.
How It Works:
- Open your command line interface.
- Run the
bin/console
command. - Scroll to the bottom of the list to find the category labeled "zeo".
- Locate the command
zeo:stock-subscriber:notify
. - To execute the notification command, use the following syntax :
bin/console zeo:stock-subscriber:notify
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article