futurequeen(@futurequeen)
7 Posts
Customers
Quote from futurequeen on November 27, 2019, 11:51
Hi i would like to have filter show in stock only as default when it loads / filters. I have tried this code in functions.php but its not working for me.
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}
Thank You
Hi i would like to have filter show in stock only as default when it loads / filters. I have tried this code in functions.php but its not working for me.
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}
Thank You
Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Quote from Pablo Borysenco on November 27, 2019, 13:23
Hello
Please activate this extension - https://clip2net.com/s/44NUH1v
If no luck - drop me exact link to the issue
Hello
Please activate this extension - https://clip2net.com/s/44NUH1v
If no luck - drop me exact link to the issue
futurequeen(@futurequeen)
7 PostsTopic Author
Customers
Quote from futurequeen on November 27, 2019, 13:50
Hi Pablo, thank you. I cant seem to save settings. It says saved but when i check its not. Can you advise.
Ideally i would like it show in stock only as default and no out of stock and also when i click radio button to filter to that section ie sub catergory. At moment i have to click Filter button to do this after i select radio button.
Thank You
Hi Pablo, thank you. I cant seem to save settings. It says saved but when i check its not. Can you advise.
Ideally i would like it show in stock only as default and no out of stock and also when i click radio button to filter to that section ie sub catergory. At moment i have to click Filter button to do this after i select radio button.
Thank You
Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Quote from Pablo Borysenco on November 28, 2019, 11:52
Hello
Please read this - https://products-filter.com/lot-taxonomies-settings-page-save-options-doesn-works/
Check option - https://c2n.me/44P4gax.png
Hello
Please read this - https://products-filter.com/lot-taxonomies-settings-page-save-options-doesn-works/
Check option - https://c2n.me/44P4gax.png
futurequeen(@futurequeen)
7 PostsTopic Author
Customers
Quote from futurequeen on November 28, 2019, 12:59
Hi Pablo, thanks, i am able to save settings now. I have done the ajax to No. But I still see out of stock and also i see an helper overlay above the products.. how do I remove this and also only see in stock only and no out of stock.
Link in private data to page where i see overlay and all the products.
Thank You
Hi Pablo, thanks, i am able to save settings now. I have done the ajax to No. But I still see out of stock and also i see an helper overlay above the products.. how do I remove this and also only see in stock only and no out of stock.
Link in private data to page where i see overlay and all the products.
Thank You
Pablo Borysenco(@pavlo_borysenco)
29,364 Posts
Quote from Pablo Borysenco on November 29, 2019, 09:23
Hello
Please do test!
Hello
Please do test!