Hi dear,
Recently I updated WooCommerce to version 4.4.1 and I found the widget filter products does not work correctly
Prerequisites (mark completed items with an [x]):
- [x] I have have carried out troubleshooting steps and I believe I have found a bug.
- [x] I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
Describe the bug
I use Storefront theme and run on WordPress 5.5 and WooCommerce 4.4.1, I create an attribute "Color" with three options "Blue, Grey, Red" and I create variable product and setup the same price for all product variations
Expected behavior
The widget need to work correctly
Actual behavior
Steps to reproduce the bug (We need to be able to reproduce the bug in order to fix it.)
Steps to reproduce the bug:
- Go to 'WooCommerce -> Attributes' and create the "Color" attributes with three options "Blue, Grey, Red"
- Create a new product variable with these options
- And then setup the variation like as screenshot
- Go to Appearance -> Widgets and drop a "Widget Filter Products by attribute" in "Sidebar" area
- Go to Shop page and see
Screenshots
Isolating the problem (mark completed items with an [x]):
- [x] I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- [x] This bug happens with a Storefront theme active
- [x] I can reproduce this bug consistently using the steps above.
WordPress Environment
### WordPress Environment ###
WordPress address (URL): http://localhost/theme-upgrade/payna
Site address (URL): http://localhost/theme-upgrade/payna
WC Version: 4.4.1
REST API Version: β 1.0.15
WC Blocks Version: β 3.1.0
Action Scheduler Version: β 3.1.6
WC Admin Version: β 1.4.0
Log Directory Writable: β
WP Version: 5.5
WP Multisite: β
WP Memory Limit: 256 MB
WP Debug Mode: β
WP Cron: β
Language: en_US
External object cache: β
Server Environment
Server Info: Apache
PHP Version: 7.4.2
PHP Post Max Size: 128 MB
PHP Time Limit: 60
PHP Max Input Vars: 5000
cURL Version: 7.65.1
OpenSSL/1.0.2o
SUHOSIN Installed: β
MySQL Version: 5.7.26
Max Upload Size: 32 MB
Default Timezone is UTC: β
fsockopen/cURL: β
SoapClient: β
DOMDocument: β
GZip: β
Multibyte String: β
Remote Post: β
Remote Get: β
Database
WC Database Version: 4.4.1
WC Database Prefix: wp_
Total Database Size: 13.37MB
Database Data Size: 11.43MB
Database Index Size: 1.94MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 4.02MB + Index: 0.06MB + Engine InnoDB
wp_postmeta: Data: 4.52MB + Index: 0.42MB + Engine InnoDB
wp_posts: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_slides: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
Post Type Counts
attachment: 330
elementor_library: 39
nav_menu_item: 132
page: 38
post: 16
product: 123
product_variation: 1
revision: 10
shop_order: 1
wp_block: 2
wpcf7_contact_form: 2
Security
Secure connection (HTTPS): β
Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: β
Active Plugins (1)
WooCommerce: by Automattic β 4.4.1
Inactive Plugins (11)
Akismet Anti-Spam: by Automattic β 4.1.5
Contact Form 7: by Takayuki Miyoshi β 5.2.1
Elementor: by Elementor.com β 2.9.14
Elementor Pro: by Elementor.com β 2.7.2
Envato Market: by Envato β 2.0.3
Hello Dolly: by Matt Mullenweg β 1.7.2
LA-Studio Core: by LA-Studio β 2.0.5
LA-Studio Header Builder: by LA-Studio β 1.0.5
LaStudio Elements For Elementor: by LaStudio β 1.0.4
Payna Package Demo Data: by LA Studio β 1.0.1
Slider Revolution: by ThemePunch β 6.2.19
Settings
API Enabled: β
Force SSL: β
Currency: GBP (Β£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
Connected to WooCommerce.com: β
WC Pages
Shop base: #3331 - /shop/
Cart: #3336 - /cart/
Checkout: #3343 - /checkout/
My account: β Page does not contain the shortcode.
Terms and conditions: β Page not set
Theme
Name: Storefront
Version: 2.6.0
Author URL: https://woocommerce.com/
Child Theme: β β If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: β
Templates
Overrides: β
Action Scheduler
Complete: 38
Oldest: 2020-08-14 08:54:40 +0000
Newest: 2020-08-20 05:19:00 +0000
type: bug needs: author feedback status: can't reproduce priority: high focus: variation status: stale