[WordPress] 外掛分享: Sale price as order discount for WooCommerce

前言介紹

  • 這款 WordPress 外掛「Sale price as order discount for WooCommerce」是 2021-12-15 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2025-04-10,距離現在已有 23 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.3 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

wpovernight |

外掛標籤

discount | Sale price | woocommerce | Regular price |

內容簡介

當你在WooCommerce中為產品設定特價,或者產品價格被第三方外掛修改時,WooCommerce並沒有預設將此特價或折扣儲存於訂單數據裡。因此,一旦訂單提交完畢,客戶在收到電子郵件或發票時,無法看到他們所獲得的折扣,而管理員在訂單詳細資料中也看不到這些折扣。
這是因為WooCommerce只將優惠券折扣視為折扣,而價格更改(促銷價格或程式修改的價格)則只被視為產品的實際價格。此外掛解決這個問題,當訂單被創建(透過後台或購物車)時,立即由產品數據複製「正常價格」,並將此價格設定為項目的「折扣前價格」(保留實際支付價格不變)。這樣做的結果是,WooCommerce將以與優惠券折扣相同的方式顯示。

原文外掛簡介

When you set a sale price for a product in WooCommerce, or when the price of a product is modified by 3rd party plugins, WooCommerce does not store this price (or discount) in the order data by default. As a result, once the order is placed, the customer doesn’t see the discount they got in the email or invoice they receive, and the admin doesn’t see this in the order details either.
This is because WooCommerce only considers coupon discounts as discounts, whereas a change in price (a sale price or a programmatically modified price) is simply regarded as the actual price of the product.
This plugin addresses that issue by copying the ‘regular price’ from the product data as soon as the order is created (either in the backend or via the checkout). This price is then set as the item’s “pre-discount” price (leaving the actual price paid untouched). The result is that WooCommerce will show this the same way it shows coupon discounts.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Sale price as order discount for WooCommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | trunk | 1.1.10 |

延伸相關外掛(你可能也想知道)

  • Woo Sale Price 》英文, 當您在 WooCommerce 上以折扣價格出售產品時,您想向客戶顯示應用的折扣,即從常規價格中減去銷售價格計算的折扣。, 此外掛讓您不僅在購物車(即購買前...。
  • Coupon overwrite sale price in cart Woocommerce 》如果應用了優惠券,購物車中產品的銷售價格將被常規價格取代。, 這樣,如果您給您的客戶一個50%的折扣券,他們將會得到比購買打8折的產品更優惠的價格。, 在 ...。
  • Quick Price Editor for WooCommerce 》總結:Quick Price Editor for WooCommerce 是店主必備的工具,讓他們可以有效管理簡單產品和變量產品的價格。主要功能包括智能的變量分組、高級篩選、批量編...。
  • ZPC UPDATE PRODUCTS 》免費測試版本。讓您在購買前試用外掛。, ZPC Update Products 外掛可讓您批次編輯商品。透過百分比或數值調整出售價格。, 您可以按分類或選擇多個單一商品來...。

文章
Filter
Apply Filters
Mastodon