Woof Shortcode on other page except Shop
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 ankitpatel on October 23, 2019, 01:27I am working on site where I integrated Woof premium plugin for wooCommerce product filter, on my shop page it is working fine, I have integrated filter with widget.
on the other page of site I have listing of specials ( On Sales ) products from all categories, I want to integrate product filter on this page which should be related to only specials products, so I have used couple of options with shortcode which I mentioned below, but the count with filter items is not correct and when I select any filter it refresh the page and redirect it to shop page.
[woof by_only="by_onsales"]
[woof autosubmit=1 ajax_redraw=1 is_ajax=1 tax_only="none" by_only="by_onsales"]
[woof redirect="https://www.my_site.com/test-all/" autosubmit=1 ajax_redraw=1 is_ajax=1 tax_only="none" by_only="by_onsales"]Can you please look into this and let me know if I missing something?
I am working on site where I integrated Woof premium plugin for wooCommerce product filter, on my shop page it is working fine, I have integrated filter with widget.
on the other page of site I have listing of specials ( On Sales ) products from all categories, I want to integrate product filter on this page which should be related to only specials products, so I have used couple of options with shortcode which I mentioned below, but the count with filter items is not correct and when I select any filter it refresh the page and redirect it to shop page.
[woof by_only="by_onsales"]
[woof autosubmit=1 ajax_redraw=1 is_ajax=1 tax_only="none" by_only="by_onsales"]
[woof redirect="https://www.my_site.com/test-all/" autosubmit=1 ajax_redraw=1 is_ajax=1 tax_only="none" by_only="by_onsales"]
Can you please look into this and let me know if I missing something?
Quote from Pablo Borysenco on October 23, 2019, 13:06Hello
On this page to show products, please, use native woo shortcodes OR - https://products-filter.com/shortcode/woof_products/
To show correct products and counts - https://products-filter.com/manipulate-search-data-options/
Example:
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['onsales']='salesonly';
return $data;
}
Hello
On this page to show products, please, use native woo shortcodes OR - https://products-filter.com/shortcode/woof_products/
To show correct products and counts - https://products-filter.com/manipulate-search-data-options/
Example:
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['onsales']='salesonly';
return $data;
}
Quote from ankitpatel on October 23, 2019, 14:56Hey,
Thanks for your reply, I put the same code like you suggested but still I am not getting correct counter and product, Can you please let me know?
Hey,
Thanks for your reply, I put the same code like you suggested but still I am not getting correct counter and product, Can you please let me know?
Quote from Pablo Borysenco on October 24, 2019, 12:43Hello
Please activate extension - https://c2n.me/44flLYs.png
https://c2n.me/44flOgX.png - You need to change this code so that it only works on your custom page. For example use is_page()
Hello
Please activate extension - https://c2n.me/44flLYs.png
https://c2n.me/44flOgX.png - You need to change this code so that it only works on your custom page. For example use is_page()
Quote from ankitpatel on October 24, 2019, 16:51Hello,
I have activated the extension and applied the code in functions files, but still it is not working as expected.
List of issues:
1. Only 3 products shows per page even after I have changed the values for per page parameters.
2. Page 2 is not loading when I click on page 2 from pagination.
3. Counts and filters are not updating as per the sales products only.
Can you please check and help to solve the issue?
Hello,
I have activated the extension and applied the code in functions files, but still it is not working as expected.
List of issues:
1. Only 3 products shows per page even after I have changed the values for per page parameters.
2. Page 2 is not loading when I click on page 2 from pagination.
3. Counts and filters are not updating as per the sales products only.
Can you please check and help to solve the issue?
Quote from Pablo Borysenco on October 25, 2019, 11:22Hello
1/2 - It only depends on your template.
3 I checked it - https://c2n.me/44gspA9.png - counters work correctly
Hello
1/2 - It only depends on your template.
3 I checked it - https://c2n.me/44gspA9.png - counters work correctly
Quote from ankitpatel on October 30, 2019, 13:10Hey,
I used <?php echo do_shortcode('[woof_products]'); ?> to display products and for filter I used <?php echo do_shortcode('[woof by_only="by_onsales"]'); ?>
If you notice on http://siteforhosting.co.in/sites/home_care_new/specials , after I select size small and then click on page 2 it removes the search filter, can you please let me know how can I prevent this?
Waiting forward for your reply.
Hey,
I used <?php echo do_shortcode('[woof_products]'); ?> to display products and for filter I used <?php echo do_shortcode('[woof by_only="by_onsales"]'); ?>
If you notice on http://siteforhosting.co.in/sites/home_care_new/specials , after I select size small and then click on page 2 it removes the search filter, can you please let me know how can I prevent this?
Waiting forward for your reply.
Quote from Pablo Borysenco on October 31, 2019, 13:35Hello
I checked it - https://c2n.me/44mCZ8z - it seems to work correctly
Hello
I checked it - https://c2n.me/44mCZ8z - it seems to work correctly
Quote from ankitpatel on October 31, 2019, 14:28Hey,
Thanks for sharing video but it is not working on my mac, I wonder on which OS and browser are you checking ?
please check video on http://siteforhosting.co.in/sites/home_care_new/specials_not_working.mov
Waiting forward for your reply.
Hey,
Thanks for sharing video but it is not working on my mac, I wonder on which OS and browser are you checking ?
please check video on http://siteforhosting.co.in/sites/home_care_new/specials_not_working.mov
Waiting forward for your reply.
Quote from Pablo Borysenco on November 1, 2019, 12:55Hello
Try to click on the filter button!
My new video - https://c2n.me/44nL92A - I don’t know why you made this setting.
Hello
Try to click on the filter button!
My new video - https://c2n.me/44nL92A - I don’t know why you made this setting.
Quote from ankitpatel on November 4, 2019, 12:14Hey,
Thanks for your reply, I also don't want to set that filter button, so when I set is_ajax to 1 and filter the products, pagination stops working.
so for filter, I use : echo do_shortcode('[woof by_only="by_onsales" autosubmit=1 ajax_redraw=1 is_ajax=1]');
and for products, I use : echo do_shortcode('[woof_products is_ajax=1]');
Video Reference : http://siteforhosting.co.in/sites/home_care_new/woof_filter_ajax_not_working.mov
Can you please let me know what should I need to change in shortcode?
Hey,
Thanks for your reply, I also don't want to set that filter button, so when I set is_ajax to 1 and filter the products, pagination stops working.
so for filter, I use : echo do_shortcode('[woof by_only="by_onsales" autosubmit=1 ajax_redraw=1 is_ajax=1]');
and for products, I use : echo do_shortcode('[woof_products is_ajax=1]');
Video Reference : http://siteforhosting.co.in/sites/home_care_new/woof_filter_ajax_not_working.mov
Can you please let me know what should I need to change in shortcode?
Quote from Pablo Borysenco on November 4, 2019, 15:11Hello
Please read this - https://products-filter.com/shortcode/woof/
I also don't want to set that filter button - OK! delete this attribute - ajax_redraw=1
Read this - https://products-filter.com/pagination-troubles-in-ajax-mode/
Hello
Please read this - https://products-filter.com/shortcode/woof/
I also don't want to set that filter button - OK! delete this attribute - ajax_redraw=1
Read this - https://products-filter.com/pagination-troubles-in-ajax-mode/
Quote from ankitpatel on November 5, 2019, 13:39Hey,
Thanks for your reply, I removed that ajax_redraw=1 from shortcode and still I have to click on filter button to filter products, I don't want to submit the form on filter button click it should submit the form when I click on any search parameter, in my case small, medium or large checkbox.
Also, pagination stops working on is_ajax = 1, can you please let me know what should I need to change to make it work?
For more reference, I attached video http://siteforhosting.co.in/sites/home_care_new/woof_filter_updated.mov
Thanks,
Hey,
Thanks for your reply, I removed that ajax_redraw=1 from shortcode and still I have to click on filter button to filter products, I don't want to submit the form on filter button click it should submit the form when I click on any search parameter, in my case small, medium or large checkbox.
Also, pagination stops working on is_ajax = 1, can you please let me know what should I need to change to make it work?
For more reference, I attached video http://siteforhosting.co.in/sites/home_care_new/woof_filter_updated.mov
Thanks,
Quote from Pablo Borysenco on November 6, 2019, 12:08Hello
Please update plugin to latest version.
Check your wp-admin access.
Can I disable plugins/theme to test?
Hello
Please update plugin to latest version.
Check your wp-admin access.
Can I disable plugins/theme to test?
Quote from ankitpatel on November 6, 2019, 13:54Hey,
Thanks for your reply, I updated plugin to latest version, and after that one of my filter is working fine which is size one.
So, when I select any size it works fine and pagination works ok as well but now my second filter which is color filter not working, can you please look into that.
also, I share admin access in private data and you can disable plugin/ theme to test ( I tried to disable theme and enable twentysixteen theme but still in that theme color filter is not working ).
Thanks
Hey,
Thanks for your reply, I updated plugin to latest version, and after that one of my filter is working fine which is size one.
So, when I select any size it works fine and pagination works ok as well but now my second filter which is color filter not working, can you please look into that.
also, I share admin access in private data and you can disable plugin/ theme to test ( I tried to disable theme and enable twentysixteen theme but still in that theme color filter is not working ).
Thanks
Quote from Pablo Borysenco on November 7, 2019, 14:24Hello
I checked it - https://c2n.me/44ty6bA - everything seems to work correctly
on the shortcode page you set again - ajax_redraw=1
Hello
I checked it - https://c2n.me/44ty6bA - everything seems to work correctly
on the shortcode page you set again - ajax_redraw=1
Quote from ankitpatel on November 8, 2019, 06:10Hello,
No It's not works correctly, I mentioned you to check specific specials page, which is http://siteforhosting.co.in/sites/home_care_new/specials
on specials page size filter works fine but color filter not working, Did you check the video I share on 5th Novemeber?
so just to let you know again, filter is working fine on shop and category pages but it is not working on specials page.
Can you please look into that and let me know?
Hello,
No It's not works correctly, I mentioned you to check specific specials page, which is http://siteforhosting.co.in/sites/home_care_new/specials
on specials page size filter works fine but color filter not working, Did you check the video I share on 5th Novemeber?
so just to let you know again, filter is working fine on shop and category pages but it is not working on specials page.
Can you please look into that and let me know?
Quote from Pablo Borysenco on November 8, 2019, 18:03Hello
I created test page - http://siteforhosting.co.in/sites/home_care_new/test-filter/
My test - https://c2n.me/44v0dqJ
Hello
I created test page - http://siteforhosting.co.in/sites/home_care_new/test-filter/
My test - https://c2n.me/44v0dqJ
Quote from ankitpatel on November 14, 2019, 14:05Hey,
Thanks for create a test filter, but if you notice on your demo, there is an error showing correct count of products next to size filter.
When you load http://siteforhosting.co.in/sites/home_care_new/test-filter first time you can see the total 6 products which are on sale and size filter ( small, medium and Large ), you can see the count is 5 which is correct.
Now when you select any filter like color or size, the filter is working fine but after you reset filter, you can see it shows all the products (total products 8 ) not only the specials one.
Also, I want to ask you like shop page when you select any filter it shows selected filter on top left side but why it is not showing on test filter page?
Waiting forwad for your reply.
Hey,
Thanks for create a test filter, but if you notice on your demo, there is an error showing correct count of products next to size filter.
When you load http://siteforhosting.co.in/sites/home_care_new/test-filter first time you can see the total 6 products which are on sale and size filter ( small, medium and Large ), you can see the count is 5 which is correct.
Now when you select any filter like color or size, the filter is working fine but after you reset filter, you can see it shows all the products (total products 8 ) not only the specials one.
Also, I want to ask you like shop page when you select any filter it shows selected filter on top left side but why it is not showing on test filter page?
Waiting forwad for your reply.
Quote from Pablo Borysenco on November 15, 2019, 12:43Hello
I can't check it - https://c2n.me/44BILde.jpg
Hello
I can't check it - https://c2n.me/44BILde.jpg