{"id":406269,"date":"2024-08-14T08:00:00","date_gmt":"2024-08-14T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/discord-sale-notifications-for-woocommerce\/"},"modified":"2025-09-01T00:02:00","modified_gmt":"2025-09-01T00:02:00","slug":"discord-sale-notifications-for-woocommerce","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/discord-sale-notifications-for-woocommerce\/","title":{"rendered":"WC Sale Discord Notifications"},"content":{"rendered":"<p>This plugin sends a Discord notification for WooCommerce order events. It uses native WordPress\/WooCommerce APIs and supports WooCommerce Custom Order Tables (v8+). You can choose which order statuses trigger notifications, customize which details are included, set different webhook URLs and embed colors per status, and optionally remove product images from the embed.<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>\u2705 Customizable message fields:\n<ul>\n<li>\ud83c\udff7\ufe0f Order Status<\/li>\n<li>\ud83d\udcb3 Payment Info<\/li>\n<li>\ud83d\uded2 Product Lines (names, qty, price)<\/li>\n<li>\ud83e\udde9 Product Options (add-ons \/ custom fields)<\/li>\n<li>\ud83d\udcc5 Order Date<\/li>\n<li>\ud83d\udc64 Billing Info<\/li>\n<li>\ud83d\udd22 Transaction ID<\/li>\n<\/ul>\n<\/li>\n<li>\ud83d\uddbc\ufe0f Option to disable product image in the embed<\/li>\n<li>\ud83e\udde9 Per-status webhook URL and embed color<\/li>\n<li>\ud83d\udd12 Duplicate-send protection via internal tracking<\/li>\n<li>\u2699\ufe0f Built using native WordPress\/WooCommerce APIs<\/li>\n<li>\ud83e\udde0 Compatible with WooCommerce Custom Order Tables (v8+)<\/li>\n<\/ul>\n<h3>Requirements<\/h3>\n<ul>\n<li>WordPress 6.2 or higher (tested up to 6.8.2)<\/li>\n<li>WooCommerce 8.5 or higher (tested up to 10.1.2)<\/li>\n<li>PHP 7.4 or higher<\/li>\n<\/ul>\n<h3>Configuration<\/h3>\n<ol>\n<li>\n<p><strong>Webhook URL<\/strong><br \/>\nEnter your Discord Webhook URL (from your Discord server settings).<\/p>\n<\/li>\n<li>\n<p><strong>Order Status Notifications<\/strong><br \/>\nChoose which order statuses should trigger notifications. You can also:<\/p>\n<ul>\n<li>Add different webhook URLs per status<\/li>\n<li>Choose unique embed colors<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>Information to Include<\/strong><br \/>\nSelect which fields should appear in the Discord embed (status, payment info, items, custom product fields, order date, billing info, transaction ID).<\/p>\n<\/li>\n<li>\n<p><strong>Disable Product Image<\/strong><br \/>\nToggle this to prevent the product image from appearing in the embed.<\/p>\n<\/li>\n<\/ol>\n<h3>Duplicate Protection<\/h3>\n<p>To prevent duplicate Discord messages (for example, if the thank-you page is refreshed), the plugin keeps track of sent events. Each entry logs <code>order_id|event_type<\/code> (e.g. <code>1655|new<\/code>). Before sending, the plugin checks whether that combination has already been sent and skips if so. This ensures each notification is only sent <strong>once per order event<\/strong>.<\/p>\n<h3>Usage<\/h3>\n<ol>\n<li>After installing and activating the plugin, go to <strong>WooCommerce <span aria-hidden=\"true\" class=\"wp-exclude-emoji\">\u2192<\/span> Discord Notifications<\/strong>.<\/li>\n<li>Paste your Discord Webhook URL and select which statuses should send notifications.<\/li>\n<li>Choose which fields to include and whether to show product images.<\/li>\n<li>Save your settings.<\/li>\n<\/ol>\n<h3>Author<\/h3>\n<p><a href=\"https:\/\/github.com\/Cral-Cactus\" rel=\"nofollow ugc\">Cral_Cactus<\/a><\/p>\n<h3>Support<\/h3>\n<p>Found a bug or have a suggestion? Open an issue on the GitHub repo: <a href=\"https:\/\/github.com\/Cral-Cactus\/wc-sale-discord-notifications\/issues\" rel=\"nofollow ugc\">https:\/\/github.com\/Cral-Cactus\/wc-sale-discord-notifications\/issues<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A powerful WooCommerce extension that sends order updates directly to your Discord server. \u2728<\/p>\n","protected":false},"author":65,"featured_media":406270,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"WC Sale Discord Notifications - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"A powerful WooCommerce extension that sends order updates directly to your Discord server. \u2728"},"footnotes":""},"categories":[1],"tags":[14151,3294,7122,436,42],"class_list":["post-406269","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-discord","tag-notifications","tag-orders","tag-sales","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/406269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=406269"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/406269\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/406270"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=406269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=406269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=406269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}