{"id":70,"date":"2021-07-23T15:38:23","date_gmt":"2021-07-23T15:38:23","guid":{"rendered":"http:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/?p=70"},"modified":"2024-08-22T08:04:21","modified_gmt":"2024-08-22T08:04:21","slug":"coupon-notification","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/","title":{"rendered":"Coupon notification"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Step 1 \u2013 Add a new notification<\/h4>\n\n\n\n<p>By clicking on the&nbsp;<strong>\u201c<\/strong>Add notification<strong>\u201c<\/strong>&nbsp;button, a popup will open allowing us to select the notification we want to create. In this case, we want to add a&nbsp;<strong>Coupon<\/strong> notification for a \u2018Season sale\u2019.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1716\" height=\"1302\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\" alt=\"Add coupon notification\" class=\"wp-image-501\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg 1716w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification-300x228.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification-1024x777.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification-768x583.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification-1536x1165.jpg 1536w\" sizes=\"auto, (max-width: 1716px) 100vw, 1716px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2 \u2013 Notification name<\/h4>\n\n\n\n<p>The name you add here is for admin view only. The customer will not see this name, this is simply the title you give to the notification and it is a mandatory field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1984\" height=\"1234\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name.jpg\" alt=\"Coupon notification name\" class=\"wp-image-503\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name.jpg 1984w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name-300x187.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name-1024x637.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name-768x478.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/33.coupon-notification-name-1536x955.jpg 1536w\" sizes=\"auto, (max-width: 1984px) 100vw, 1984px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 3 \u2013 Notification content<\/h4>\n\n\n\n<p>First, we start by adding the text of the notification from the \u2018Content\u2019 tab. As you can see in the example below, you can edit the font, the size, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1974\" height=\"1224\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content.jpg\" alt=\"Coupon notification content\" class=\"wp-image-505\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content.jpg 1974w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content-300x186.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content-1024x635.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content-768x476.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/34.coupon-notification-content-1536x952.jpg 1536w\" sizes=\"auto, (max-width: 1974px) 100vw, 1974px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Notification text:&nbsp;<\/strong>from the available editor you can add the text that will be shown in the notification. You can use the <strong>placeholder<\/strong> %couponcode%<\/li>\n\n\n\n<li><strong>Coupon code:&nbsp;<\/strong>from this option you can insert the coupon code that you have previously created from the WooCommerce default settings: <em>Marketing &gt; Coupons<\/em>.<\/li>\n<\/ul>\n\n\n\n<p><em>On the right side, you see a preview of the notification you are creating in real time. It changes dynamically as you are editing the notification.<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 4 \u2013 Image options<\/h4>\n\n\n\n<p>Next we decide to add a custom image to the notification, by enabling the \u201cAdd image\u201d option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2062\" height=\"1142\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image.jpg\" alt=\"Add coupon notification image\" class=\"wp-image-508\" style=\"object-fit:cover\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image.jpg 2062w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image-300x166.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image-1024x567.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image-768x425.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image-1536x851.jpg 1536w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/35.coupon-notification-image-2048x1134.jpg 2048w\" sizes=\"auto, (max-width: 2062px) 100vw, 2062px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/36.coupon-image-options.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"452\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/36.coupon-image-options.jpg\" alt=\"Coupon notification image options\" class=\"wp-image-509\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/36.coupon-image-options.jpg 1014w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/36.coupon-image-options-300x134.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/36.coupon-image-options-768x342.jpg 768w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Upload image:<\/strong>&nbsp;choose an image to upload.<\/li>\n\n\n\n<li><strong>Image position:&nbsp;<\/strong>select the position of the image based on the text (above it, to the left, to the right or under it).<\/li>\n\n\n\n<li><strong>Image alignment: <\/strong>based on the image position, you can configure its alignment.<\/li>\n<\/ul>\n\n\n\n<p><em>In this example, we choose to show an image above the text in the center.<\/em><\/p>\n\n\n\n<p class=\"is-style-alert-info\">For more information on the image position and alignment, check&nbsp;<a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/image-position-and-alignment-examples\/\">this page<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 5 \u2013 Button options<\/h4>\n\n\n\n<p>Now we decide to add a button to allow users to copy the coupon code directly from it. You have to activate the dedicated option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1976\" height=\"1284\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button.jpg\" alt=\"Add coupon button notification\" class=\"wp-image-514\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button.jpg 1976w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button-300x195.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button-1024x665.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button-768x499.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/37.add-coupon-button-1536x998.jpg 1536w\" sizes=\"auto, (max-width: 1976px) 100vw, 1976px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Button text:&nbsp;<\/strong>add the label you want to show on the button.<\/li>\n\n\n\n<li><strong>Button colors:&nbsp;<\/strong>set the colors for the button text and background.<\/li>\n\n\n\n<li><strong>Border radius (px):&nbsp;<\/strong>choose to add square or rounded edges (0 for square).<\/li>\n\n\n\n<li><strong>Button action:&nbsp;<\/strong>decide what happens when the customer clicks on the button:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/38.button-action.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"254\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/38.button-action.jpg\" alt=\"Coupon button action\" class=\"wp-image-513\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/38.button-action.jpg 996w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/38.button-action-300x77.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/38.button-action-768x196.jpg 768w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Copy the code:&nbsp;<\/strong>the code is copied, they only have to paste it in the dedicated &#8216;coupon code&#8217; field at checkout.<\/li>\n\n\n\n<li><strong>Apply the code automatically:&nbsp;<\/strong>the code is automatically applied on the cart page.<\/li>\n\n\n\n<li><strong>Redirect the user to a specific page:<\/strong> add the URL to redirect the customer when clicking on the button. For example, a discount conditions page.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Step 6 \u2013 Style<\/h4>\n\n\n\n<p>Moving on to the \u2018Style<strong>\u2019<\/strong> tab where we can manage the colors, padding, background, etc. of the notification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2082\" height=\"1280\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style.jpg\" alt=\"Coupon notification style\" class=\"wp-image-519\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style.jpg 2082w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style-300x184.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style-1024x630.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style-768x472.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style-1536x944.jpg 1536w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/039.coupon-notification-style-2048x1259.jpg 2048w\" sizes=\"auto, (max-width: 2082px) 100vw, 2082px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Width (px):&nbsp;<\/strong>width of the notification.<\/li>\n\n\n\n<li><strong>Background colors:&nbsp;<\/strong>default color, and color on hover state.<\/li>\n\n\n\n<li><strong>Add background image:&nbsp;<\/strong>decide to show and upload a custom image as a background, instead of a color.<\/li>\n\n\n\n<li><strong>Border radius (px):&nbsp;<\/strong>choose to have square or rounded edges (0 for square).<\/li>\n\n\n\n<li><strong>Padding (px):&nbsp;<\/strong>set the amount of space around the content.<\/li>\n\n\n\n<li><strong>Shadow:&nbsp;<\/strong>add a shadow color to the notification.<\/li>\n<\/ul>\n\n\n\n<p><em>Again, on the right-hand side, you can see the changes you apply directly in the preview.<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 7 \u2013 Display options<\/h4>\n\n\n\n<p>The \u2018Display options<strong>\u2018<\/strong>&nbsp;allow us to override the default options we have set in the general&nbsp;<strong><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/display-settings\/display-options\/\">Display settings<\/a><\/strong>, regarding how the notification is displayed to the user in the frontend page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2250\" height=\"898\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position.jpg\" alt=\"Coupon display options - position\" class=\"wp-image-523\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position.jpg 2250w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position-300x120.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position-1024x409.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position-768x307.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position-1536x613.jpg 1536w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/40.display-options-position-2048x817.jpg 2048w\" sizes=\"auto, (max-width: 2250px) 100vw, 2250px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Override default position:&nbsp;<\/strong>enable this option if you want to override the default position of the notification.<\/li>\n\n\n\n<li><strong>Select a position:&nbsp;<\/strong>decide in which position on the page the notification pops up:\n<ul class=\"wp-block-list\">\n<li>Top left<\/li>\n\n\n\n<li>Top right<\/li>\n\n\n\n<li>Bottom left<\/li>\n\n\n\n<li>Bottom right<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options.jpg\" data-rel=\"lightbox-image-9\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2212\" height=\"1268\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options.jpg\" alt=\"Override default display options\" class=\"wp-image-524\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options.jpg 2212w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options-300x172.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options-1024x587.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options-768x440.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options-1536x880.jpg 1536w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/41.coupon-display-options-2048x1174.jpg 2048w\" sizes=\"auto, (max-width: 2212px) 100vw, 2212px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Override default display options:&nbsp;<\/strong>enable to override the default display options for the notification.<\/li>\n\n\n\n<li><strong>Show this notification to:&nbsp;<\/strong>you can choose which users can see the notification. You can choose to all users, only guest users, or only logged-in users.<\/li>\n\n\n\n<li><strong>Additional geolocation filter:<\/strong>&nbsp;decide to hide or show notifications to users from certain countries.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter.jpg\" data-rel=\"lightbox-image-10\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1152\" height=\"406\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter.jpg\" alt=\"Additional geolocation filter\" class=\"wp-image-554\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter.jpg 1152w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter-300x106.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter-1024x361.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/029.additional-geolocation-filter-768x271.jpg 768w\" sizes=\"auto, (max-width: 1152px) 100vw, 1152px\" \/><\/a><\/figure>\n\n\n\n<p class=\"is-style-default\"><em>For example, we want to show this notification to users from Spain, even though these users do not see notifications by default because we have excluded that country in the general &#8220;Display Options&#8221; settings.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Notification visibility on pages:&nbsp;<\/strong>decide to show the notification on all pages or show\/hide it only on specific pages.<\/li>\n\n\n\n<li><strong>Notification visibility on product pages:&nbsp;<\/strong>either show it on all product pages, or decide to show\/hide the notification on selected products or categories.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules.jpg\" data-rel=\"lightbox-image-11\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1078\" height=\"974\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules.jpg\" alt=\"Override default display visibility rules\" class=\"wp-image-490\" style=\"width:690px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules.jpg 1078w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules-300x271.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules-1024x925.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/30.override-visibility-rules-768x694.jpg 768w\" sizes=\"auto, (max-width: 1078px) 100vw, 1078px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step 8 \u2013 Final result<\/h4>\n\n\n\n<p>On the frontend, the notification would look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example.jpg\" data-rel=\"lightbox-image-12\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"2106\" height=\"1398\" src=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example.jpg\" alt=\"Coupon notification\" class=\"wp-image-946\" srcset=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example.jpg 2106w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example-300x199.jpg 300w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example-1024x680.jpg 1024w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example-768x510.jpg 768w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example-1536x1020.jpg 1536w, https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/coupon-notification-example-2048x1359.jpg 2048w\" sizes=\"auto, (max-width: 2106px) 100vw, 2106px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 1 \u2013 Add a new notification By clicking on the&nbsp;\u201cAdd notification\u201c&nbsp;button, a popup will open allowing us to select the notification we want to create. In this case, we want to add a&nbsp;Coupon notification for a \u2018Season sale\u2019. Step 2 \u2013 Notification name The name you add here is for admin view only. The &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Coupon notification<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-create-new-notifications"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Coupon notification - YITH Live Push Notification for WooCommerce<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Coupon notification - YITH Live Push Notification for WooCommerce\" \/>\n<meta property=\"og:description\" content=\"Step 1 \u2013 Add a new notification By clicking on the&nbsp;\u201cAdd notification\u201c&nbsp;button, a popup will open allowing us to select the notification we want to create. In this case, we want to add a&nbsp;Coupon notification for a \u2018Season sale\u2019. Step 2 \u2013 Notification name The name you add here is for admin view only. The &hellip; Continue reading Coupon notification\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Live Push Notification for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-23T15:38:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-22T08:04:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\" \/>\n<meta name=\"author\" content=\"francgrasso\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"francgrasso\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\",\"name\":\"Coupon notification - YITH Live Push Notification for WooCommerce\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\",\"datePublished\":\"2021-07-23T15:38:23+00:00\",\"dateModified\":\"2024-08-22T08:04:21+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/2942c5a68785e594ba5a5a6f6d7e5fbc\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coupon notification\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/\",\"name\":\"YITH Live Push Notification for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/2942c5a68785e594ba5a5a6f6d7e5fbc\",\"name\":\"francgrasso\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9d1024f36f1f66ab9c3ae20ad0b35d52?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9d1024f36f1f66ab9c3ae20ad0b35d52?s=96&d=mm&r=g\",\"caption\":\"francgrasso\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/author\/francgrasso\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Coupon notification - YITH Live Push Notification for WooCommerce","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/","og_locale":"en_US","og_type":"article","og_title":"Coupon notification - YITH Live Push Notification for WooCommerce","og_description":"Step 1 \u2013 Add a new notification By clicking on the&nbsp;\u201cAdd notification\u201c&nbsp;button, a popup will open allowing us to select the notification we want to create. In this case, we want to add a&nbsp;Coupon notification for a \u2018Season sale\u2019. Step 2 \u2013 Notification name The name you add here is for admin view only. The &hellip; Continue reading Coupon notification","og_url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/","og_site_name":"YITH Live Push Notification for WooCommerce","article_published_time":"2021-07-23T15:38:23+00:00","article_modified_time":"2024-08-22T08:04:21+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg","type":"","width":"","height":""}],"author":"francgrasso","twitter_card":"summary_large_image","twitter_misc":{"Written by":"francgrasso","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/","url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/","name":"Coupon notification - YITH Live Push Notification for WooCommerce","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg","datePublished":"2021-07-23T15:38:23+00:00","dateModified":"2024-08-22T08:04:21+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/2942c5a68785e594ba5a5a6f6d7e5fbc"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-content\/uploads\/sites\/323\/2024\/08\/32.coupon-notification.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/plugin-settings\/create-new-notifications\/coupon-notification\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"Coupon notification"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/","name":"YITH Live Push Notification for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/2942c5a68785e594ba5a5a6f6d7e5fbc","name":"francgrasso","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9d1024f36f1f66ab9c3ae20ad0b35d52?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9d1024f36f1f66ab9c3ae20ad0b35d52?s=96&d=mm&r=g","caption":"francgrasso"},"url":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/author\/francgrasso\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":45,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":977,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/posts\/70\/revisions\/977"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-live-push-notifications-for-woocommerce\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}