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

Problem with active product

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.

Hi,
I hope you can help me.

Practically when I carry out a search with attribute filters I find 2 errors.

The first is that even if an item is out of stock it is counted (appears in brackets on the left) , then if you click it doesn’t show you anything because it is actually out of stock. https://cremoninibike.com/categoria-prodotto/biciclette/?swoof=1&pa_modello=enviliv&really_curr_tax=126-product_cat

The other error is that if I click on the PROPEL model (in addition to giving me the same error – so it tells me that there are 11 but actually if you click it only shows you 9 – the other 2 models are sold out) and then go to filter by size there is a bug of some kind because it says 11 for each size but obviously it’s not true.https://cremoninibike.com/categoria-prodotto/biciclette/?swoof=1&pa_modello=propel&pa_taglia=xs&really_curr_tax=126-product_cat

The version of plugin is 1.3.5.2

there is also this code inserted:
add_filter('woof_get_request_data', 'my_woof_get_request_data'); function my_woof_get_request_data($data){ $data['stock']='instock'; restituisce $dati; }

Hello

my  test - https://c2n.me/4kuLpA8  - Looks like you didn't paste this code correctly-  add_filter('woof_get_request_data', 'my_woof_get_request_data'); function my_woof_get_request_data($data){ $data['stock']='instock'; restituisce $dati; }  and  try  in  Advanced->Options- https://share.pluginus.net/image/i20240313125332.png

and  check   this - https://share.pluginus.net/image/i20240313125921.png and regenerate this  table - Woocommerce->Status->Tools - https://share.pluginus.net/image/i20240313130236.png

I can't see the test, is there another way to view it?

 

is this code correct?

add_filter('woof_get_request_data', 'my_woof_get_request_data');

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

 

I followed the directions, but it's still not working: https://cremoninibike.com/categoria-prodotto/biciclette/
I would like the"available" filter to always be active

Hello

where did you paste this code?

wp content > themes > betheme-child > functions.php

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and  wp-admin access - https://share.pluginus.net/image/i20230222134615.png

Ok, I'm done.

Let me know.

 

Thanks,

Lisa

Hi Pablo,

I think I solved it, I disabled your user.

Thanks so much for the support!

Hello

Ok. great. welcome;)