You can add the unsubscribe from SMS notifications functionality, in order for your clients which placed orders and signed to SMS notification, to stop recieving notifications. Just insert the following block in your Terms and conditions CMS page, or any other CMS Block or page from your Magento 2 store.
Steps to add SMS unsubscribe block to your page:
-Go to Magento Admin panel->Content->Pages and edit an existing page or create a new page.
-Under the content section in the page text/code editor you need to paste this line of code:
{{block unsubscribe="1" class="WeSupply\Toolbox\Block\Notification" template="WeSupply_Toolbox::notification.phtml"}}
-And click "Save" to save the changes.
-Now if you access the page, you will see the following results:
Using the order number and phone number used when the order was placed, the customer can unsubscribe from the SMS notification for that particular order number.
Comments
0 comments
Please sign in to leave a comment.