459 comments found.
Hello,
I use the latest version of the following plugins: - WooCommerce and - PWF – WooCommerce Products Filter.
I have created a page “New arrivals” and I use the WooCommerce shortcode [products limit=”9” is_new=”true” paginate=”true” cache=”false”]. I wanted this shortcode to return only new products so I made a custom attribute “is_new” to achieve this.
I have add the following code in functions.php: https://pastebin.com/5sLk3njW I followed your instructions for Custom Query from here: https://docs.mostafaa.net/plugins/pwfwoofilter/docs-page.html#filter-settings-query-typeSo far, everything worked perfect, except one small issue:
As you can see here: https://www.cozihome.gr/nees-afixeis/There is a list of the newest products. The filter on your left, shows the colors and here is where my problem lies. When you click on the blue color it should return only blue-assigned products. And it does. But the counter of the blue button is not correct. It shows 4 in total while the actual number should be 3.
This issue of course happens for every filter, not just for colors. It’s just the counter that seems to be off for some reason.
If you visit the /shop page where ALL products are shown: https://www.cozihome.gr/shop/ You can see there the number 4 also on the blue button, but this time the counter is always correct.
What I need, is when a query runs (either after page load or after clicking on a filter) to show the correct count number of the results. This of course happens only on pages where I add the custom shortcode that contains the “is_new” attribute. Every other default WooCommerce shortcode works correctly.
Looking forward to your reply, thanks in advance.
Kostas
Hi,
You described the issue very good.
The problem is the code you add to filter products depend on date you didn’t add it to the code that count products.
Please download the version 1.9.5 I made some changes.
Try this code
add_filter( 'pwf_parse_date_query', 'customize_pwf_parse_date_query', 10, 2 ); function customize_pwf_parse_date_query( $date_query, $filter_id ) { if ( 6119 === $filter_id ) { if ( empty( $date_query ) ) { $today = getdate(); $days30 = getdate( date( strtotime('today - 30 days') ) ); $date_query = array( 'relation' => 'AND', array( 'after' => array( 'year' => absint( $days30['year'] ), 'month' => absint( $days30['mon'] ), 'day' => absint( $days30['mday'] ), ), 'before' => array( 'year' => absint( $today['year'] ), 'month' => absint( $today['mon'] ), 'day' => absint( $today['mday'] ), ), 'inclusive' => true, ), ); } } return $date_query; }
Support #1 I have installed WP Fastest Cache plugin to optimize the website, I have noticed that since then I have had some problem with PWF filter plugin. The categories are displayed without the need to click on the ”+” or “v” sign, the filters are visually present but disabled, when I position the mouse and I want to filter any attribute, nothing is executed. I must clear the cache so that it can work correctly.
I would appreciate if you tell me if I should do something in the PWF plugin configuration or in the WP Fastest Cache plugin configuration.
https://sukutu.com/Hi, Hello, You can’t cache our plugin JS files. they contain information about filter items, settings, and the current page. <script type=”text/javascript” id=”pwf-woo-filter-js-before”> <script type=”text/javascript” id=”pwf-woo-filter-js-extra”> Also this file wp-content/plugins/pwfwoofilter/assets/js/frontend/script.min.js
In that case, does it mean that I can’t install any WordPress caching plugin? What solution would you have to optimize the website without affecting the filters?
Hi, I don’t say that. Any cache plugin has options to disable some JS files from cached in minfy file.
You need to check this option
Good day,
I would like your assistance to resolve a number of issues with the paid version of your PWF plugin.
(1) When I edit a Filter, some changes don’t look like they are applied. For example, if I go to the “Database Query” tab and change the “Pages” setting and apply changes, when I reload the page it will still show “No selected”. I had someone check the MySQL database and they say the selected page is there. So the settings page is not getting the saved value from the database, it just keeps showing “No selected”
(2) When I asked someone to check the Filter settings for me they saw a code error. In class-pwf-meta.php on line 1057, it is doing a foreach on $setting_values, but $settings[‘filter_display_pages’] is a string. This causes an empty array to get saved into the ‘pwf_woo_query_filters’ option, when it should be an array with the page id from $settings[‘filter_display_pages’].
(3) The filters do not work properly on my WooCommerce Shop page. I tried different combinations of settings with the Ajax settings and the Pretty URLs. With all Ajax settings ON and Pretty URLs OFF, if I apply a filter on the shop page, the products being shown does not change, but if I go to the next page (using pagination), the applied filter start. Afterwards, if I go back to page 1 from page 2 (pagination) the filters remain active on page 1.
The ajax that is supposed to update the product list on the shop page when applying a filter is not working properly.
(4) There is no way to completely turn off ajax. Even setting all Ajax options to OFF, applying the filter still shows the spinning image trying to update the main shop page using Ajax. But nothing actually happens. With the Ajax settings OFF, if I apply a filter and go to the next page the filter is active. But if I go back to page 1 the filters are not active. Can there be an option to completely reload the page when a filter is applied and it uses the query string or the pretty url to do the filtering. The Ajax is not working at all on my site.
— I have turned off all caching on my website and the problems are still there.
With these problems, the plugin is pretty much unusable on my site and had to be disabled. I am hoping you can assist to resolve these issues.
Kindest regards.
Hi, what is the plugin version you use?
1.9.0
Please, update the plugin to the latest version. I think this issue comes from PHP 8.0+
How can we get the filters to work on the WooCommerce shop page.
We have tried the “Pages” option under Database Query but the filter does not seem to work. It only works on the Product Archive pages
We also notice the filters don’t work properly unless we turn off all the Ajax options and disable Pretty URLs
I think you need to add the purchase code for pretty urls
Hi,
Hi, We are still waiting for reply from your side,
please revert asap. its urgent for us, we want to know the solution
Filters not working due to Fibo Search plugin. its conflicting.
Can you please check and confirm the solution. https://woocommerce-849594-3444032.cloudwaysapps.com/product-category/sports-nutrition/check this link. filters not working
Hi,
First, I add the purchase code this purchase code work for limited time. you need to add the original purchase code.
The purchase code is so important to work with the Pretty URLs.
The filter works well now.
Also I edit the filter settings. For the tab Database query, I disable Ajax because it makes an error (admin-ajax 500 error)
Website >> https://sukutu.com/ Requirement No.1 When I enter the “TIENDA” page, it only shows me the “CATEGORY” filter, because that is how it was configured, but I do want the other filters to be shown without having to previously select any of the CATEGORIES (Calzado, Electrónica, Entretenimiento, Mujeres, Regalos), Can be done? How should I configure it?
Requirement No.2 I have the banner “Piñata” (It is a subcategory of “ENTERTAINMENT”) on the page “HOME”, this banner redirects to the store page, but it only shows the subcategories of “Piñata”. Since the user is only looking for Piñatas, I need it to also show the other filters that correspond to this subcategory. Can be done? If so, how is it configured?
I have a PDF document with images of the current configuration of the Filter. If you want I can provide it
Hello,
Thank you for reaching us.
“but I do want the other filters to be shown without having to previously select any of the CATEGORIES (Calzado, Electrónica, Entretenimiento, Mujeres, Regalos), Can be done? How should I configure it?”
You need to remove the option “depends on”. Edit each filter item and click the tab visual and set the option depend on to “Empty”
For question 2, when you remove set the option “depends on”
as the previous step, this will solve the issue.
Thank you. Change the settings according to your instructions. The filter is made up of 5 items, the last one is “Color”, when the user selects a color it filters the items that correspond to the selected color, but at the same time it shows me other products that do not have any color attribute. The filter is located on the page “Shop” = “Store”.
https://sukutu.com/shop/Color-yellow-neon/Hi,
First, set the pagination on the shop page to page numbers. Then edit the filter and set the pagination type to the load more button, this will fix the display of unwanted projects.
I think the link should be https://sukutu.com/shop/Color-amarillo-neon/
I changed the settings as you indicated, it only shows me the 2 colors with that color, but comparing with the image you provided me, I have noticed 2 different things: 1) Color: Neon yellow there are only 2 products that offer that color, but in the page header shows me “Showing all 1 results” when there are 2 products; 2) At the bottom of the page it shows me 2 pages, nothing is shown in your image. Could it be that I configured the Pagination wrong? I would appreciate it if you could tell me how I should configure the pagination or what other configuration I should perform.
Settings & Color Filter >>> https://snipboard.io/1HStMp.jpg
Hi,
Please edit the filter settings and click the tab “CSS Selectors” set the option (Pagination selector*) to (.kapee-pagination)
It works, but it still shows me the message “Showing all 1 results”, it must be “Showing all 2 results” because there are 2 products with the same Neon Yellow color attribute
Hi, Where I can find this issue?
I only have 2 products that have the attribute “Neon Yellow”, but in the text “Showing all 8 results”, which lists the number of results does not match. See the following images with 2 examples:
https://snipboard.io/hd0MWt.jpg https://snipboard.io/YOw0E5.jpgHi,
Could you try this solution. Edit the filter settings and clicking the Database query tab set the option “Posts per page” to empty.
Hi
I hope this email finds you well. My name is Azan Ahmad and I am a seasoned digital marketer with 9 years of experience in the industry. I came across your website and I’m impressed by the content and overall layout. I believe that with my skills and expertise, I can help you drive more traffic and generate more leads to your website. I am writing to you today to propose my guest posting and link building services. Guest posting is an effective way to reach a wider audience and increase your website’s visibility, while link building is a crucial aspect of SEO that helps in improving your website’s ranking on search engines.
Here is what I can offer:
Guest Posting: I will help you publish high-quality articles on authoritative websites that are relevant to your niche. These articles will include a link back to your website, which will drive traffic and help you establish your brand.
Link Building: I will help you build high-quality backlinks from authoritative websites in your niche. This will help you rank higher on search engines and increase your website’s visibility.
I have a proven track record of delivering results for my clients, and I believe I can do the same for you. If you are interested in learning more, please let me know, and I’d be happy to discuss details further.
Thank you for considering my proposal. I look forward to hearing back from you.
Best regards,
Hi,
We have implemented this plugin in site. https://woocommerce-849594-3444032.cloudwaysapps.com/shop/But filter is not working due to inflict with Fibo Search. so can you please fix the issue.
we have detected issue, filter is not working due to Fibo Search
Do you need login details for site?
Thanks
Hi, I can’t fix the conflict with the plugin Fibo Search. I can help you to make the plugin work on your website. Please send me login details using the contact form on my profile page.
Hi, I got a notification that the plugin has an update available. In WP I usually just click the ‘UPDATE NOW’ link but I noticed with your plugin – it does not have that.
Can you please advise on the best way to update your plugin without losing any of the settings, data, filters, and custom css.
Thank you.
Hello, thank you for reaching us.
Please read this https://docs.mostafaa.net/plugins/pwfwoofilter/docs-page.html#update-1-3
Hello,
I can’t understand how SEO rules work. I’ve created a filter with the color attribute.
I’ve created an SEO rule to optimize categories for the request “category+color”.
My URL pattern for categories are domain.com/category-name/
For SEO URL i’ve put this pattern category-name/couleur- any / and I’ve selected the page of the category i wanted it to appear.
The filter work on the front end, but anything from the SEO rule seems to happen : no change in h1, description, meta title, etc.
Could you help me understand please ? I’ve bought your plugin specifically for this feature.
Thanks
Hi, thank you for reaching us. could you send me login details using my contact form on my profile page?
Which SEO plugin are you using?
I’ve sent you my login details on your contact form. I am using Yoast SEO and Premmerce permalink manager as SEO plugins.
Hii, how to make categories without url key. (The “URL key” is the URL-friendly version of the title. It is usually all lowercase and contains only letters, numbers, and hyphens) . I want to have static product categories links, thats good for SEO. Ofcorse option to show parent categories, but also to be static.
Hi, This option doesn’t exist. The link with the category is not available for SEO untill you add it to the XML sitemap. The default categories links will only add to SEO.
Can we add something like shortcode above filters? Here is code, because i rly need a categories without url key. Static parent archive categories.
add_shortcode(‘display_parent_categories_from_archive’, ‘display_parent_categories_from_archive_shortcode’);
// Create the function for the shortcode function display_parent_categories_from_archive_shortcode() { // Check if WooCommerce is active if (!class_exists(‘WooCommerce’)) { return ‘WooCommerce is not active on this site.’; } }
// Get the current category
$current_category = get_queried_object();
// If not on a category archive, return a message
if (!$current_category || 'product_cat' !== $current_category->taxonomy) {
return 'Not on a product category archive.';
}
// Set up arguments for the query
$args = array(
'taxonomy' => 'product_cat',
'parent' => $current_category->term_id,
'hide_empty' => true
);
// Get the categories
$parent_categories = get_terms($args);
// If there are no categories, return an empty string
if (empty($parent_categories)) {
return '';
}
// Set up the output variable
$output = '';
// Loop through the categories
foreach ($parent_categories as $category) {
$category_link = get_term_link($category);
$output .= '' . $category->name . ' ';
}
$output .= '';
return $output;
Hi, could you provide example of the url you don’t need and example of the url you need.
On Demo, the category link is https://woocommercefilter.mostafaa.net/shop/product-catgory-clothing/ and the SEO link or default link is https://woocommercefilter.mostafaa.net/product-category/clothing/
Hi, I need it always to be like https://woocommercefilter.mostafaa.net/product-category/clothing/ , that means without url key, basicly just normal categories links
Hello, unfortunately, this option doesn’t exist. But there is an option you can disable all URL keys. Edit the filter settings and click the tab “extra” and set the option Enable browser hash to “OFF”
Hi there, Nice plugin, just purchased yesterday. Have run into a couple of issues with presentation and styling and how it works in general.
1. When clicking any of the filters, the Products already displayed don’t get filter, instead the plugin replaces the top container with the filter Products (in my case it removes the list of categories from that Elelmentor container and displays the filtered products).
2. The filtered Products do not adhere to the styling of the non-filtered Products. Not sure where to adjust that.
3. I can’t seem to get any CSS to work on the display of the filter (just changing to change font colour and font-size).
4. Is there a Sort feature by any chance?
Could you advise please. Thank you
Hi,
Thank you for reaching out.
For the first point. Could you please put the link to your website?
And I think the Categories displayed by the Elementor plugin have the same CSS Class.
Point2, edit the filter settings click the tab “database query” and disable Ajax.
For point three. Are you using any cache plugins?
I misunderstand point 4 can you explain it in more details?
Thanks for the reply. The url is https://facefit.com.au/shop/. Point 2 – that hasn’t solved things sorry. Point 3 – No cache, but just added purchase code and now CSS responds Point 4 – Sort function to order Products / results alphabetically, by newest, by brand etc.
Thanks
Hi, For the shop page it is difficult to filter products because there are more layouts that are displaying products so customers can feel conflict. But if you need to set the filter on the shop page you need to assign which layouts you need to filter and add unique CSS to it then edit the filter settings and click the CSS tab and set this unique CSS class to the option products container. And aslo you need to use custom query check this tut https://docs.mostafaa.net/plugins/pwfwoofilter/tuts.html#create-new-filter-when-you-use-database-custom-query
For sorting, You can use radio button or dropdown menu to add order by like default woocommerce order by menu.
What do you need or explain what do you need for this point “3. I can’t seem to get any CSS to work on the display of the filter (just changing to change font colour and font-size).”
You can send login details using my contact form on my profile page What do you need exactly especially for the shop page and I will do that.
Thanks you. I have emailed you details. Cheers
Hi, I will check it right now.
Hello!
Just purchased this awesome filter to our store. But somehow if I filter products by “On Sale” it doesn’t work it just filters some Sale products and show also regular priced items. How could we sort this out? Check out: https://www.weecos.com/tuote-osasto/miehille/?on-sale=yes
Hi, thank you for purchase our plugin.
Please set the pagination type on the theme to numbers. Then edit the filter plugin and set the pagination type to “Infinite Scroll”.
Hi, I’ve just purchased your module and I’ve created a filter. I’m using an elementor template for the product category page and archive page and I’m using filter shortcode on the left column. The filter appears properly but filter doesn’t work (it doesn’t filter products on the right). Thanks for your help.
Samy
Hi, thank you for reaching out. Please use mu contact form on my profile page and send login details and I will check your site as soon as possible.
Hello Im having an issue with SEO Rules. I created one with the atttribute – brand and it doesnt work despite having created a filter and SEO Rules
https://eleventhdress.com/wp-admin/edit.php?post_type=pwf_woofilter&page=pwf-seo https://eleventhdress.com/brand/adrianna-papell/my website login: testadmin W!e#dXosznwjS1&w7YJboNBV
Hi, This is because there is a default page on WordPress called /brand/adrianna-papell/ please use the SEO Plugin to add rules to this page.
For example, a link like this https://eleventhdress.com/shop/merchanturl-neiman-marcus/brandurl-maria-lucia-hohan/
Also, you need to add some JS code so the product items can display on the frontend after ajax. read this https://docs.mostafaa.net/plugins/pwfwoofilter/tuts.html#how-to-integrate-theme-with-pwf
I have applied rules to it as you stated and I get no results. Seems like the SEO Rules are not working on my site. Please let me know asap
What is Js code you add?
For SEO what two variables you need to add a SEO Rule to it.
I can’t login on your website also I didn’t find any JS code related to our plugin
sorry here it is
https://eleventhdress.com/wp-admin/ testadmin Nhd&MI44^kZq6$&bAuzc%MW( please add a Q to the end of the passw) and change it immediately please.
Hi, First, the filter doesn’t display on the front end.
Second, Where can I find the JS code?
Third, What is the SEO RUle you add this SEO rule any -mother-of-the-bride-dresses but when I check available variables I can’t find any thing starting with “any”. The word “%any” must be at the end. To fix this issue you need to edit the filter and add product categories. Then add the SEO rule.
I sent you message
Hello. When I added products to subcategories under 2 different categories it is not possible to filter by few categories > sub categories in one category archive page. For example Product added to categories:
- Product type 1 > Size 1
- Brands > Brand 1
When viewing “Product type 1” category archive page it is possible to filter only by size. It is not possible to filter by Brands. Sub categories filter from another category, where also product added, is not shown. How it is possible to fix this problem it will be possible to Filter by all categories>subcategories on all categories archive pages.
Second problem – How it is possible to fully change colors on Active Product Filters, check screenshot https://prnt.sc/HBA__w2OurM8
Please also fix you demo-page there filters also work.
Hi, I really misunderstood you.
First, Yoiu said “When I added products to subcategories under 2 different categories”. I think you create the main category as a brand. please use a plugin to create a custom taxonomy for the brand.
Second. any product have one category or ( main category > subcategory) for example parent category clothing and sub-category t-shirt see https://woocommercefilter.mostafaa.net/product-category/clothing//
Finally, Whay I need to fix on my demo?
Hello, thank you for fast answer: First problem handled by custom taxonomy for the brands. Your demo works now, sorry! There is still second problem how it is possible to fully change colors on Active Product Filters, check screenshot https://prnt.sc/HBA__w2OurM8
Hi,
Please add this CSS code and change the color value
.pwf-icon-remove::after, .pwf-icon-remove::before { color:#222; } .pwf-note-item:hover .pwf-icon-remove::after, .pwf-note-item:hover .pwf-icon-remove::before { color:#222; }
1. Sorry, bud CSS code doesn’t work. Any idea? https://prnt.sc/xun1idgkWpKK
2. How to move Active Product Filters as on your demo? https://prnt.sc/md-B7O3RSK6W
.pwf-icon-remove::after, .pwf-icon-remove::before { background-color: #FFF; }
This code also doesn’t work! And what about second question
I think this code work fox (x) or you mean labels. Please check this https://docs.mostafaa.net/plugins/pwfwoofilter/docs-page.html#customize-color
What is the second question
I did all changes in appearance > customize > PWF filter options! But there is BUG: One part of CROSS is not changed and leaves black. Please check this GIF https://share.getcloudapp.com/llu708WA
Second question was – How to move Active Product Filters as on your demo? https://prnt.sc/md-B7O3RSK6W
.pwf-icon-remove::after, .pwf-icon-remove::before { background-color: #ff0000; } .pwf-note-item:hover .pwf-icon-remove::after, .pwf-note-item:hover .pwf-icon-remove::before { background-color: #000; }
To display the active filters on the frontend. There are two ways to do that using a shortcode or a widget. please check this tut https://docs.mostafaa.net/plugins/pwfwoofilter/tuts.html#how-to-dispay-active-filters
Thank You! There is a BUG in filter reset, it is also on your DEMO, could You, please, check this screen recording https://www.loom.com/share/7012571a6d344e1b9b34ba3a0c00f42b
Any news?
Hi,
I’m sorry. You can update the plugin to the latest version. I fixed it.
It doesnt work! Also on your page no one filter works! https://woocommercefilter.mostafaa.net/on-sale/ could you fix code!
I update the plugin on the demo. Please check it now https://woocommercefilter.mostafaa.net/shop/
Look, problem with filter not fixed! Please check my video https://www.loom.com/share/7012571a6d344e1b9b34ba3a0c00f42b This problem on my site and it is also on your demo site https://woocommercefilter.mostafaa.net/on-sale/ Please check my video and fix it!
Hi, I think the problem when the item title on the filter without toggle content is clickable.
Now I understand you. To fix this problem you need to add HTML for pagination tag if is empty. I will try to add some code to fix this issue.
add_action( 'woocommerce_after_shop_loop', 'pwf_add_html_taga_for_woocommerce_pagination', 11 ); function pwf_add_html_taga_for_woocommerce_pagination() { if ( function_exists( 'is_plugin_ajax' ) && ! is_plugin_ajax() ) { $total = isset( $total ) ? $total : wc_get_loop_prop( 'total_pages' ); if ( $total <= 1 ) { echo '<nav class="woocommerce-pagination"></nav>'; } } }
Hello,
Im using your PWF filter plugin on this page: https://findeq.com/equipment/ Im using the latest WP, Woocommerce, Rank Math and the GeneratePress theme.
All filter fields have the setting “Display toggle content” set to off. This does hide the toggle icon, but the title remains clickable and thus toggleable.
I would like the fields to be visible at all times, both on desktop and smartphone. How can i accomplish this?
If you have any other recommendations about my use of your plugin, please also let me know.
Kind regards
Hi, I think a clickable title is an issue in our plugin. I will try to fix it as soon as possible.
For a mobile device, Please edit the filter settings and click on the responsive tab and set the responsive option to “OFF”.
Finally, there are no recommendations you did a great job specially design.
Hello, everything is working great except for PWF plugin filter is not displaying on shop pages on mobile devices.
Please provide instructions on how to show on mobile device.
Thank you
Hi, I will response on email as soon as possible. (You team support ask the same question)
Hello, I’m using ACF on my site (not woo). Avada theme. Is it your plugin compatibile with ACF? Thanks
Hi, yes. could you read this https://docs.mostafaa.net/plugins/pwfwoofilter/tuts.html#how-to-add-custom-fields
Hello, i have problem with filter display. I’m using shordcode but filter doesnt display
Hi, could you put a link to your website?
Or using my contact form on my profile page and send me login details
Message sent…
Hi, I’m sorry to late. I responsed in email.