內容簡介
```html
<!DOCTYPE html>
<html lang="zh-tw">
<head>
<meta charset="UTF-8">
</head>
<body>
<h3>WordPress 外掛介紹:</h3>
<p>想要更多控制 WooCommerce 優惠券嗎?預設情況下,您可以將優惠券限制在產品或類別上,但無法限制到像“顏色:藍色”或“尺寸:大”等特定產品屬性。</p>
<ul>
<li>透過 WooCommerce 屬性優惠券,您可以在優惠券設定中添加一個簡單但強大的新限制規則來解決這個問題。</li>
</ul>
<h3>主要功能:</h3>
<ul>
<li>無縫整合:直接在優惠券編輯畫面的“使用限制”選項卡中添加新字段。</li>
<li>屬性選擇:選擇任何全域定義的產品屬性(例如顏色、尺寸、品牌)。</li>
<li>屬性值選擇:在選擇屬性後,選擇特定的值(例如藍色、大號、耐克)。</li>
<li>智能驗證:只有當客戶購物車中存在選定屬性和值的產品時,優惠券才能生效。</li>
<li>用戶友好:設置直觀,無需編碼知識。</li>
</ul>
<p>這個外掛適用於定向促銷,例如為所有紅色 T 恤提供折扣或清理特定產品變體的庫存。</p>
</body>
</html>
```
外掛標籤
開發者團隊
② 後台搜尋「Product Attribute Filter for Coupons」→ 直接安裝(推薦)
原文外掛簡介
Do you want more control over your WooCommerce coupons? By default, you can restrict coupons to products or categories, but not to specific product attributes like “Color: Blue” or “Size: Large”.
WooCommerce Attribute Coupons solves this problem by adding a simple but powerful new restriction rule to your coupon settings.
Key Features:
Seamless Integration: Adds new fields directly into the “Usage Restriction” tab on the coupon edit screen.
Attribute Selection: Choose any globally defined product attribute (e.g., Color, Size, Brand).
Attribute Value Selection: After selecting an attribute, choose a specific value (e.g., Blue, Large, Nike).
Smart Validation: The coupon will only be valid if a product with the selected attribute and value is present in the customer’s cart.
User-Friendly: The setup is intuitive and requires no coding knowledge.
This plugin is perfect for targeted promotions, such as offering a discount on all red t-shirts or clearing out inventory of a specific product variant.
