• Resolved kraeMit

    (@kraemit)


    Hi,

    how can I do this following 2 things :

    • Subscribe a WooCommerce Customer to OneSignal when an Order has been placed
    • Send an WooCommerce Order Status to Customer

    Thanks for a tip!

    All the best!
    kraeMit

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dom

    (@domonesignal)

    Hi there,

    In order for a user to be subscribed to push notifications, they will need to allow notifications on the prompt that is shown on your page. It is best practice to show this prompt when the user first enters your site, but there can be changes made if you do want to only show the prompt on a specific page, like the checkout.

    More info on that can be found in the docs here:
    https://documentation.onesignal.com/docs/web-push-wordpress-faq#how-to-restrict-the-onesignal-wordpress-plugin-to-certain-pages

    In regards to the order status getting sent to the customer, It is something we are looking into adding, but no ETA on when yet.

    You can actually setup OneSignal to do this by adding the custom post type to the plugin: https://documentation.onesignal.com/docs/web-push-wordpress-faq#for-posts-created-from-3rd-party-plugins

    Or using our API directly, some details on hooking into the plugin here: https://documentation.onesignal.com/docs/web-push-wordpress-faq#customizing-wordpress-plugin-behavior

    Unfortunately these features are not “out of the box” which is what we are looking into.

    If you have any further questions, for faster support, please reach out to our support team at [email protected] or through the intercom link in the bottom right corner of our documentation or onesignal.com dashboard. Happy to help!

    Thread Starter kraeMit

    (@kraemit)

    Hi @domonesignal!

    thanks for this answer!!

    You mean if I add the custom post type ‘Order statuses: ‘shop_order_status’ to OneSignal’s settings the user will be subscribed automaticly and every time I change an order’s status a message will be pushed to the user?

    Thanks!
    Best regards
    Marcus

    Dom

    (@domonesignal)

    Hey there @kraemit!

    Yes if a user opts in to receive notifications from your site, so long as the custom post type doesn’t lack the necessary meta data our plugin uses to send the push notification, you should be able to set this up with the Order statuses: shop_order_status woocommerce custom post type.

    Just make sure to follow along with our guide that I provided in the last message. If you run into any issues during the setup, you can reach the support team and get a response quickly by using the support email I sent before!

    Hope this information is helpful to you, and of course feel free to reach back out!

    Thanks,
    Dom

    If you are enjoying the ability to connect with your users that the OneSignal provides, it would mean a lot to us if you would give us a 5 star rating!

    Thanks for using OneSignal!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Send WooCommerce Order Status & Subscribe to OneSignal Notifications’ is closed to new replies.