-
AuthorPosts
-
November 26, 2021 at 6:59 pm #1330627
Hello,
I am studying woocommerce setting and design with ENFOLD.
So I imported the enfold shop demo in a test site.I don’t understand why sometimes the widget « filter products by price » is not displayed.
This widget is in the shop overview page sidebar.
All the widgets of the sidebar are well displayed, except in the casual category, the price filter is not displayed, why ?In the demo shop site, it’s OK : https://kriesi.at/themes/enfold-shop/product-category/women/casual/
The settings of this category are exactly the same as the others category.
Can you give me an explication ?
November 29, 2021 at 5:22 am #1330777Hey ppi37,
Thank you for the inquiry.
The price filter is displaying correctly on our end. Please check the screenshot below.
Screenshot: https://imgur.com/Nms3y7P
The filter should display automatically as long as the Filter Products by Price widget is located in the Shop Overview Page widget area, and that the category page is using the default product grid template.
Best regards,
IsmaelNovember 29, 2021 at 5:26 am #1330779Hi,
UPDATE: Did you install any extensions for the shop plugin?
Best regards,
IsmaelNovember 29, 2021 at 9:55 am #1330813Hi Ismael,
With the “women category” it’s OK (see the links in the private content please)
But with the “casual category” the widget price is not displayed (see the links in the private content please)
I have the same result with Firefox, Chrome and safari.
ThanksDecember 1, 2021 at 12:35 pm #1331145Hi,
Thank you for the update.
The price filter displays properly in the same “casual” category in the demo.
// https://kriesi.at/themes/enfold-shop/product-category/women/casual/
Please try to create new products, assign the “casual” category to it and see if it changes anything.
Adding this code in the functions.php file might help, but please make sure to create a backup or a restore point before doing so.
function ava_update_woocommerce_version() { if(class_exists('WooCommerce')) { global $woocommerce; if(version_compare(get_option('woocommerce_db_version', null), $woocommerce->version, '!=')) { update_option('woocommerce_db_version', $woocommerce->version); if(! wc_update_product_lookup_tables_is_running()) { wc_update_product_lookup_tables(); } } } } add_action('init', 'ava_update_woocommerce_version');
Best regards,
IsmaelDecember 1, 2021 at 5:41 pm #1331200Hi Ismael,
it’s OK after creating a new product with the “casual” category. The price widget frames the price of the added product.it seems that imported products are not taken into account by the widget.
Because it’s OK after a price change of an imported product.
So the widget is now working.
thanks a lot for your helpDecember 2, 2021 at 4:04 pm #1331327 -
AuthorPosts
- The topic ‘Widget filter per price sometimes not displayed in shop overview page sidebar’ is closed to new replies.