Accessories – Hash Soft Plugins https://plugin.hsdevbox.com My WordPress Blog Wed, 09 Jul 2025 05:26:29 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 241661657 Attribute filter https://plugin.hsdevbox.com/product/attribute-filter/ https://plugin.hsdevbox.com/product/attribute-filter/#respond Wed, 09 Jul 2025 05:08:56 +0000 https://plugin.hsdevbox.com/?post_type=product&p=484

Hi there,

I found that the coupon filter is not working with variable products.
Only the attributes that are used to distinguish the variants are considered, but not the attributes that are the same for all variants.

In my case, we wanted to create a coupon for a specific brand. The brand attributes is identical for all variants of a variable product. The coupon was only applied to “normal” products, but not to any variable products.

I analyzed your source code and added code to consider the attributes of the parent product of a variation.

The function wac_check_coupon_valid_attributes now looks as follows.

Could you consider adding this to your code (after some quality checks of course)?
And it might be that a similar modification is required for “Product Tags”. Didn’t look at that at all…

]]>
https://plugin.hsdevbox.com/product/attribute-filter/feed/ 0 484
Variable Product Group Data https://plugin.hsdevbox.com/product/variable-product-data/ https://plugin.hsdevbox.com/product/variable-product-data/#respond Tue, 06 May 2025 10:14:19 +0000 https://plugin.hashsoft.io/?post_type=product&p=265 https://plugin.hsdevbox.com/product/variable-product-data/feed/ 0 265 VARIABLE products https://plugin.hsdevbox.com/product/variable-products/ https://plugin.hsdevbox.com/product/variable-products/#respond Tue, 06 May 2025 09:17:52 +0000 https://plugin.hashsoft.io/?post_type=product&p=261

VARIABLE products

]]>
https://plugin.hsdevbox.com/product/variable-products/feed/ 0 261
Brand Buttons https://plugin.hsdevbox.com/product/brand-buttons/ https://plugin.hsdevbox.com/product/brand-buttons/#respond Thu, 23 Jan 2025 09:15:54 +0000 https://plugin.hashsoft.io/?post_type=product&p=17 https://plugin.hsdevbox.com/product/brand-buttons/feed/ 0 17 Lanyard https://plugin.hsdevbox.com/product/lanyard/ https://plugin.hsdevbox.com/product/lanyard/#respond Thu, 23 Jan 2025 09:15:54 +0000 https://plugin.hashsoft.io/?post_type=product&p=22 https://plugin.hsdevbox.com/product/lanyard/feed/ 0 22 Divi Engine String Bag (Big Logo) https://plugin.hsdevbox.com/product/divi-engine-string-bag-big-logo/ https://plugin.hsdevbox.com/product/divi-engine-string-bag-big-logo/#respond Thu, 23 Jan 2025 09:15:53 +0000 https://plugin.hashsoft.io/?post_type=product&p=15 https://plugin.hsdevbox.com/product/divi-engine-string-bag-big-logo/feed/ 0 15 Divi Engine String Bag (Small Logos) https://plugin.hsdevbox.com/product/divi-engine-string-bag-small-logos/ https://plugin.hsdevbox.com/product/divi-engine-string-bag-small-logos/#respond Thu, 23 Jan 2025 09:15:53 +0000 https://plugin.hashsoft.io/?post_type=product&p=16 https://plugin.hsdevbox.com/product/divi-engine-string-bag-small-logos/feed/ 0 16