PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

webshop crashes

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 please
If 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.

This is not working, it keeps loading loading loading and finaly webshop crashes.

I add this to the snippet plugin and the webshop crashes. I also use wp rocket caching. We cant give any login because of big number of users and we dont have a staging or how to do that.

 

add_filter(‘woof_get_request_data’, ‘my_woof_get_request_data’);

function my_woof_get_request_data($data){ $data[‘stock’]=’instock’; return $data; }

Hello

Make your attention on quotes - https://share.pluginus.net/image/i20230821194148.png , looks like you just use copy paste, but text is formated, code must be like: https://share.pluginus.net/image/i20230821194255.png - see quotes

 

Hello I add this to the function file

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}

 

And it crashes our webshop.

I can't disable it true woocommerce because I need that option in stock open because of out of stock products. Customers can click on sold out variables and sign up by mail to get notified when it is in stock again.

 

 

Yith as also ajax filter plugin. Than one we use. And it is great but I want to try yours because I think your plugin is faster. But yith as also the simple option built in to choose if you want to filet only in stock or everything.

Hello

Ok!  Please  drop  me  screenshots  of  the  code( in the file where you put it )

Share this the image url

https://fashiontofashion.nl/wp-content/uploads/2023/08/Screenshot_20230822_204014_Chrome.jpg

Hello

The code seems to be correct and it should not cause an error.

To exclude the possibility of occurrence of inappropriate characters, delete this code and insert a new one (the same code from another source) - https://gist.github.com/PavloBorysenko/cc7dcb25116b2af47208f55a1a462a26

if  no  luck  drop  me  text  of  the  error.

To  get  error  text   please  install  and  set up  this  plugin - https://wordpress.org/plugins/error-log-monitor/

if it's not a syntax error (I doubt it), then your server may not have enough resources