{"id":237923,"date":"2025-06-23T13:56:26","date_gmt":"2025-06-23T13:56:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/product-attribute-filter-for-coupons\/"},"modified":"2025-06-23T14:22:35","modified_gmt":"2025-06-23T14:22:35","slug":"product-attribute-filter-for-coupons","status":"publish","type":"plugin","link":"https:\/\/en-nz.wordpress.org\/plugins\/product-attribute-filter-for-coupons\/","author":20220308,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.6","stable_tag":"1.0.6","tested":"6.8.5","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Product Attribute Filter for Coupons","header_author":"G\u00e4king digital design","header_description":"Erm\u00f6glicht das Erstellen von Gutscheinen, die auf Produktattribute beschr\u00e4nkt sind.","assets_banners_color":"","last_updated":"2025-06-23 14:22:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/gaeking.de","rating":0,"author_block_rating":0,"active_installs":0,"downloads":308,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.6":{"tag":"1.0.6","author":"cgaeking","date":"2025-06-23 14:22:35"}},"upgrade_notice":{"1.0.0":"<ul>\n<li>The first version of the plugin. Enjoy the new feature!<\/li>\n<\/ul>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.6"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3316407,"resolution":"1","location":"plugin"}},"screenshots":{"1":"The new fields for attribute restriction in the coupon admin area."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[27762,326,591,22976,22977],"plugin_category":[45],"plugin_contributors":[243968],"plugin_business_model":[],"class_list":["post-237923","plugin","type-plugin","status-publish","hentry","plugin_tags-attribute","plugin_tags-coupon","plugin_tags-coupons","plugin_tags-gutschein","plugin_tags-gutscheine","plugin_category-ecommerce","plugin_contributors-cgaeking","plugin_committers-cgaeking"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/product-attribute-filter-for-coupons.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/product-attribute-filter-for-coupons\/trunk\/screenshot-1.jpg?rev=3316407","caption":"The new fields for attribute restriction in the coupon admin area."}],"raw_content":"<!--section=description-->\n<p>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\".<\/p>\n\n<p><strong>WooCommerce Attribute Coupons<\/strong> solves this problem by adding a simple but powerful new restriction rule to your coupon settings.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Seamless Integration:<\/strong> Adds new fields directly into the \"Usage Restriction\" tab on the coupon edit screen.<\/li>\n<li><strong>Attribute Selection:<\/strong> Choose any globally defined product attribute (e.g., Color, Size, Brand).<\/li>\n<li><strong>Attribute Value Selection:<\/strong> After selecting an attribute, choose a specific value (e.g., Blue, Large, Nike).<\/li>\n<li><strong>Smart Validation:<\/strong> The coupon will only be valid if a product with the selected attribute and value is present in the customer's cart.<\/li>\n<li><strong>User-Friendly:<\/strong> The setup is intuitive and requires no coding knowledge.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<p>You can install this plugin directly from your WordPress dashboard:<\/p>\n\n<ol>\n<li>Go to 'Plugins' &gt; 'Add New'.<\/li>\n<li>Search for \"WooCommerce Attribute Coupons\".<\/li>\n<li>Click 'Install Now' and then 'Activate'.<\/li>\n<\/ol>\n\n<p>Alternatively, you can install it manually:<\/p>\n\n<ol>\n<li>Download the plugin .zip file from WordPress.org.<\/li>\n<li>Go to 'Plugins' &gt; 'Add New' &gt; 'Upload Plugin' in your WordPress dashboard.<\/li>\n<li>Upload the .zip file and click 'Activate'.<\/li>\n<\/ol>\n\n<p><strong>Usage:<\/strong><\/p>\n\n<ol>\n<li>Go to 'Marketing' &gt; 'Coupons'.<\/li>\n<li>Create a new coupon or edit an existing one.<\/li>\n<li>Navigate to the 'Usage restriction' tab.<\/li>\n<li>You will find two new fields: \"Product attribute restriction\" and \"Attribute value restriction\".<\/li>\n<li>Select an attribute and a value, then save the coupon.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20work%20with%20variable%20products%3F'><h3>Does this work with variable products?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='can%20i%20add%20multiple%20attribute%20rules%20to%20a%20single%20coupon%3F'><h3>Can I add multiple attribute rules to a single coupon?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='which%20attributes%20can%20i%20use%3F'><h3>Which attributes can I use?<\/h3><\/dt>\n<dd><p>You can use any globally created product attributes. You can manage these under 'Products' &gt; 'Attributes' in your WordPress dashboard.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release of the plugin.<\/li>\n<\/ul>","raw_excerpt":"A simple WooCommerce extension to restrict coupons to specific product attributes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/237923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=237923"}],"author":[{"embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cgaeking"}],"wp:attachment":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=237923"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=237923"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=237923"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=237923"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=237923"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=237923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}