Price filter works only on products with specific attribute
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from George on February 2, 2020, 20:19
- Price filter only returns products added by vendors (wcmp plugin), not including other products that should have been returned based on their price.
- When the shortcode is put in the sidebar, ajax is not working and so there is no way to filter products at all (given that there is not a submit button either).
- Price filter only returns products added by vendors (wcmp plugin), not including other products that should have been returned based on their price.
- When the shortcode is put in the sidebar, ajax is not working and so there is no way to filter products at all (given that there is not a submit button either).
Quote from Pablo Borysenco on February 3, 2020, 15:34Hello George
1) Please disable this filter and do test with native woo price filter
2) Drop me exact link to the issue
Hello George
1) Please disable this filter and do test with native woo price filter
2) Drop me exact link to the issue
Quote from George on February 12, 2020, 19:45Hello Pablo,
Eventually, I disabled the sidebar and after experimenting with the settings for a few hours I made it work as I like. Pretty good job - nice plugin!
Here is the page I 'm using it on https://yesitworks.me/products/
1) The issue I am facing now is that some elements, such as the product title, the heading which shows the number of products on-page (top) and the pagination (bottom) are affected by the plugin's CSS and they don't look like before. As I 'm not sure which is the best way to fix that do you have any suggestions? I 've seen a section called "Custom front CSS styles file link" in the settings under the "Design" tab but I didn't understand whether this method adds my custom CSS or replaces the plugin's CSS on the front. If this is the solution, where do I need to place my custom CSS file and how to properly type the path to this file? (Sorry that I didn't find that in the provided documentation)
Is it possible to override the plugin's/shortcode's CSS by copying it to my theme too?
2) Also, I found this option: autohide=0. Could it be implemented only for mobile devices somehow or I would have to add the shortcode twice (with and without this option) and load the respective one in each case?
3) I would like to add the filters in a template as well. Is there any way to achieve that (combining PHP with HTML and a shortcode for example)?
Thanks,
George
Hello Pablo,
Eventually, I disabled the sidebar and after experimenting with the settings for a few hours I made it work as I like. Pretty good job - nice plugin!
Here is the page I 'm using it on https://yesitworks.me/products/
1) The issue I am facing now is that some elements, such as the product title, the heading which shows the number of products on-page (top) and the pagination (bottom) are affected by the plugin's CSS and they don't look like before. As I 'm not sure which is the best way to fix that do you have any suggestions? I 've seen a section called"Custom front CSS styles file link" in the settings under the"Design" tab but I didn't understand whether this method adds my custom CSS or replaces the plugin's CSS on the front. If this is the solution, where do I need to place my custom CSS file and how to properly type the path to this file? (Sorry that I didn't find that in the provided documentation)
Is it possible to override the plugin's/shortcode's CSS by copying it to my theme too?
2) Also, I found this option: autohide=0. Could it be implemented only for mobile devices somehow or I would have to add the shortcode twice (with and without this option) and load the respective one in each case?
3) I would like to add the filters in a template as well. Is there any way to achieve that (combining PHP with HTML and a shortcode for example)?
Thanks,
George
Quote from Pablo Borysenco on February 13, 2020, 13:34Hello George
1) Very strange. My plugin does not affect these styles. Try to disable ajax mode to test.
2) You can try hide widget for mobile devices(use third-party plugin) AND check option - https://c2n.me/45YVA3J.png
3) <?php echo do_shortcode("[woof]")?> - https://products-filter.com/shortcode/woof/
Hello George
1) Very strange. My plugin does not affect these styles. Try to disable ajax mode to test.
2) You can try hide widget for mobile devices(use third-party plugin) AND check option - https://c2n.me/45YVA3J.png
3) <?php echo do_shortcode("[woof]")?> - https://products-filter.com/shortcode/woof/
Quote from George on February 13, 2020, 15:32Hi,
1) With ajax mode disabled, the "appearance" of the page is not affected but the price filter doesn't respond as it should and has the behavior I explained in my first message "Price filter only returns products added by vendors (wcmp plugin), not including other products that should have been returned based on their price." I didn't mention that again because ajax mode solved this problem and also is faster. So, isn't it possible to override the CSS somehow? I am good at CSS and could possibly find which part affects the elements I mentioned.
* I've created the "product archive page" with Elementor Pro. Could that be the reason for the strange behavior?
2) 3) Worked fine!
Regards,
George
Hi,
1) With ajax mode disabled, the"appearance" of the page is not affected but the price filter doesn't respond as it should and has the behavior I explained in my first message"Price filter only returns products added by vendors (wcmp plugin), not including other products that should have been returned based on their price." I didn't mention that again because ajax mode solved this problem and also is faster. So, isn't it possible to override the CSS somehow? I am good at CSS and could possibly find which part affects the elements I mentioned.
* I've created the"product archive page" with Elementor Pro. Could that be the reason for the strange behavior?
2) 3) Worked fine!
Regards,
George
Quote from Pablo Borysenco on February 14, 2020, 12:25Hello George
1) This is the point - my plugin does not affect the styles of the product template! Only in ajax mode adds container. Try to disable my plugin and check product styles
Hello George
1) This is the point - my plugin does not affect the styles of the product template! Only in ajax mode adds container. Try to disable my plugin and check product styles
Quote from George on February 18, 2020, 13:05Hi,
Yes, it was just the added container causing some CSS selectors to need rewriting. I fixed that, thank you!
I 've added the filters in a template as well, using: <?php echo do_shortcode("[woof]")?> . You can take a look here:
https://yesitworks.me/pharmacy/my-pharmacy/
It works fine, the only issue is that this template only shows products sold by a specific vendor, but the filters can "see" all products published to my website. Do you have any suggestions on this, so that the count right next to each category shows the actual number of products on this page?
Kind regards,
George
Hi,
Yes, it was just the added container causing some CSS selectors to need rewriting. I fixed that, thank you!
I 've added the filters in a template as well, using: <?php echo do_shortcode("[woof]")?> . You can take a look here:
https://yesitworks.me/pharmacy/my-pharmacy/
It works fine, the only issue is that this template only shows products sold by a specific vendor, but the filters can"see" all products published to my website. Do you have any suggestions on this, so that the count right next to each category shows the actual number of products on this page?
Kind regards,
George
Quote from Pablo Borysenco on February 18, 2020, 13:12Hello George
Read this please - https://products-filter.com/manipulate-search-data-options/
AND - https://products-filter.com/shortcode/woof/
Hello George
Read this please - https://products-filter.com/manipulate-search-data-options/
Quote from George on March 8, 2020, 20:13Hi Pablo,
- During further configuration, I was able to solve the problem accidentally:
Under "Advanced>Code" and next to "Init plugin on the next site pages only", I added the pages on which the filters should work. This fixes the problem as only the products on a specific page are now recognized. Nice work!
..Despite that, I decided to go through the documentation you pointed me to (just to enrich my knowledge). The only thing I don't fully understand is how one can find the name of the taxonomies (e.g pa_color,pa_size' or 'by_sku, by_author' ) so they can be used with the shortcode attributes (e.g tax_only or by_only). Similarly, how one finds other parameters, except for 'stock', that exist in the $data array, or the values they take (like 'instock')?
2. I followed all the required steps to enable statistics but after a few days, I wasn't able to get any graphs under the "Statistic" tab. Below, is exactly what I can see now:
"Check DB connection" returns: "Database successfully connected!"
"Calculate statistics" returns:
(Under Graphics:)
- finished!
- drawing graphs ...
- done!
- getting the data from the table 2020_3 ...
- operative tables are prepared
- getting of operative tables ...
But finally, the only message I see is "No data". Do you have anything in mind that could be causing this? Is there any way to troubleshoot this?
Thank you,
George
Hi Pablo,
- During further configuration, I was able to solve the problem accidentally:
Under"Advanced>Code" and next to"Init plugin on the next site pages only", I added the pages on which the filters should work. This fixes the problem as only the products on a specific page are now recognized. Nice work!
..Despite that, I decided to go through the documentation you pointed me to (just to enrich my knowledge). The only thing I don't fully understand is how one can find the name of the taxonomies (e.g pa_color,pa_size' or 'by_sku, by_author' ) so they can be used with the shortcode attributes (e.g tax_only or by_only). Similarly, how one finds other parameters, except for 'stock', that exist in the $data array, or the values they take (like 'instock')?
2. I followed all the required steps to enable statistics but after a few days, I wasn't able to get any graphs under the"Statistic" tab. Below, is exactly what I can see now:
"Check DB connection" returns:"Database successfully connected!"
"Calculate statistics" returns:
(Under Graphics:)
- finished!
- drawing graphs ...
- done!
- getting the data from the table 2020_3 ...
- operative tables are prepared
- getting of operative tables ...
But finally, the only message I see is"No data". Do you have anything in mind that could be causing this? Is there any way to troubleshoot this?
Thank you,
George
Quote from Pablo Borysenco on March 9, 2020, 14:19Hello George
- You can do a test search and will see this values. Example: https://c2n.me/46mejvM.png OR -https://c2n.me/46mel0i.png
- It takes a little time to get statistics working. Please drop me screenshots of the statistic settings
Hello George
- You can do a test search and will see this values. Example: https://c2n.me/46mejvM.png OR -https://c2n.me/46mel0i.png
- It takes a little time to get statistics working. Please drop me screenshots of the statistic settings
Quote from George on March 11, 2020, 02:41Hi,
- Thanks!
- Ok, I'm dropping a link with the screenshots in the "private data" popup. If you require extra info let me know.
Regards,
George
Hi,
- Thanks!
- Ok, I'm dropping a link with the screenshots in the"private data" popup. If you require extra info let me know.
Regards,
George
Quote from Pablo Borysenco on March 11, 2020, 14:10Hello
https://c2n.me/46opOHC.png - Perhaps there is no search with all these taxonomies at the same time! Try to check statistics with this field blank.
Hello
https://c2n.me/46opOHC.png - Perhaps there is no search with all these taxonomies at the same time! Try to check statistics with this field blank.
Quote from George on March 13, 2020, 01:40Hello Pablo,
Yes, that was the case!
Once again, nice work. You can now consider that topic as solved.
Thanks,
George
Hello Pablo,
Yes, that was the case!
Once again, nice work. You can now consider that topic as solved.
Thanks,
George
Quote from Pablo Borysenco on March 13, 2020, 12:36Hello Spencer
Welcome;)
Hello Spencer
Welcome;)