How can i change the pop up that appears on my screenshot ?

This topic has 4 replies, 3 voices, and was last updated 1 years, 2 months ago ago by Rose Tyler

  • Avatar: PEYO
    PEYO
    Participant
    May 4, 2023 at 20:57

    how can i change the pop up that appears on my screenshot ?

    https://snipboard.io/5SPlpT.jpg

    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    May 5, 2023 at 09:10

    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

    Avatar: PEYO
    PEYO
    Participant
    May 5, 2023 at 12:35

    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;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 5, 2023 at 13:15

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.