الوصف
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.
التنصيب
You can install this plugin directly from your WordPress dashboard:
- Go to ‘Plugins’ > ‘Add New’.
- Search for “WooCommerce Attribute Coupons”.
- Click ‘Install Now’ and then ‘Activate’.
Alternatively, you can install it manually:
- Download the plugin .zip file from WordPress.org.
- Go to ‘Plugins’ > ‘Add New’ > ‘Upload Plugin’ in your WordPress dashboard.
- Upload the .zip file and click ‘Activate’.
Usage:
- Go to ‘Marketing’ > ‘Coupons’.
- Create a new coupon or edit an existing one.
- Navigate to the ‘Usage restriction’ tab.
- You will find two new fields: “Product attribute restriction” and “Attribute value restriction”.
- Select an attribute and a value, then save the coupon.
الأسئلة المتكررّة
-
Does this work with variable products?
-
Yes. The plugin checks the attributes of the products in the cart. If a specific variation with the required attribute is in the cart, the coupon will be considered valid.
-
Can I add multiple attribute rules to a single coupon?
-
In the current version (1.0.0), you can only set one attribute rule per coupon (e.g., “Color: Blue”). Support for multiple or combined rules may be considered for future versions.
-
Which attributes can I use?
-
You can use any globally created product attributes. You can manage these under ‘Products’ > ‘Attributes’ in your WordPress dashboard.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“Product Attribute Filter for Coupons” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”Product Attribute Filter for Coupons“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.0
- Initial release of the plugin.
