General notes

It is essential to allow the browser to receive the notifications to show them and let the plugin work in the correct way.

Allow notifications

Each type of notification must be created and configured first since the plugin doesn’t enable any for your shop by default.

The notifications can be enabled for 5 different actions:

  • each purchase made
  • each purchase associated to a specific product
  • a refunded order
  • an order status change
  • a product status turns into “Out of stock”
  • a product has low stock

The system checks possible available notifications every 10 seconds to not undermine the site performance.
This parameter can be edited at any time in the “Check new notifications” entry of the settings dashboard.

Check new notification

Let’s see how to configure a new notification.

Notification creation

Go to YITH Plugins -> Desktop Notifications and click on “Add new notification”.

Add new notification

Select the type of notification and associate a title and description to it.
Through the use of specific placeholders, you can include in the description any information about the product, order, and user.

  • {username}: username of the user who made the purchase
  • {order_id}: ID of the created order
  • {products_sold}: list of the products sold
  • {order_total}: the total amount of the order
  • {product_id}: product ID
  • {product_name}: product name
  • {new_status}: new status associated to the order
  • {old_status}: old order status

The notification is shown for the same duration configured in “Notification length” (in seconds)

To see the notification preview, click on the “Preview notification” button.

Notification preview

Icons and sounds

You can find the complete list of icons and sounds in the “Upload” section. Icon notification

Sound notification

In addition to the available elements, the plugin gives you the possibility to upload new icons (.png -.jpg) and sound (.mp3)