This topic has 4 replies, 3 voices, and was last updated 1 years, 6 months ago ago by Rose Tyler
how can i change the pop up that appears on my screenshot ?
Hello, PEYO,
Thank you for contacting us regarding the default message in WooCommerce. We understand that you are looking to change the pop-up message when a customer adds a variable product to their cart without selecting the product options.
This popup comes from WooCommerce plugin, so we would recommend you contact the support of WooCommerce – https://wordpress.org/support/plugin/woocommerce/
OR
We regret to inform you that this would require additional customization, and we apologize for any inconvenience this may have caused. We would like to clarify that item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page.
If you are interested in pursuing paid customization services, we recommend submitting a customization request to the WPKraken team via their website: https://wpkraken.io/?ref=8theme. They offer professional customization services and may be able to assist you with your request.
Please do not hesitate to contact us if you have any further questions or concerns. We appreciate your understanding and thank you for choosing 8Theme.
Best Regards,
8Theme’s Team
could that work ?
add_filter( ‘gettext’, ‘customizing_woocommerce_strings’, 999, 3 );
function customizing_woocommerce_strings( $translated_text, $untranslated_text, $domain ) {
switch ( $translated_text ) {
case ‘Veuillez sélectionner des options du produit avant de l’ajouter à votre panier.’ :
$translated_text = __( ‘Votre message personnalisé ici.’, ‘woocommerce’ );
break;
}
return $translated_text;
}
Hello, PEYO,
Additional customization in files is outside the scope of our basic support. Also, we can’t be responsible for your custom coding.
If you just want to change text, do this by editing the existing translation of the WooCommerce plugin.
Best Regards,
8Theme’s Team
The issue related to '‘how can i change the pop up that appears on my screenshot ?’' has been successfully resolved, and the topic is now closed for further responses