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

Change label "In Stock"

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.

https://www.leobotics.fr/product-category/robot-de-service-robot-divertissement-jouet-domestique-art-livre/?swoof=1&stock=instock&really_curr_tax=79-product_cat

Hello everyone,

I had already managed to modify my code, but an update must have made me go back ...

Can you give me again please, a complete code to change the label, instead of"In Stock" in the WOOF of the sidebar, make another text appear like"SOLD BY LEOBOTICS"

The code below does not work,

Thank you fully in advance !!

Regards,

add_filter ('woof_ext_custom_title_by_instock', 'woof_ext_custom_title_instock');
function woof_checkbox_instock ($woof_checkbox_instock) {
return"VENDU PAR LEOBOTICS";
}

Hello

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

Where  you  added this  code?

Hello,

The licence key is already added apparently,

 

I added the code like usual, in functions.php of my child theme. Currently in comments so it is invisible.

But the code is useless ; the text disappear when it is activated (only checkbox is visible)

Then I am sure there is a mistake in the code.

 

Thank you in advance to give lines of code to directly change"label"in stock" in the sidebar",

Best regards,

 

Léo-Pol W

Hello

yes this code is wrong! -> https://share.pluginus.net/image/i20210602122104.png

Use:

add_filter ('woof_ext_custom_title_by_instock', 'woof_checkbox_instock');
function woof_checkbox_instock ($woof_checkbox_instock) {
return"VENDU PAR LEOBOTICS";
}

Hello,

Thanks a lot,

Sincerely,

Léo-Pol W

Welcome;)