Add to card button – remove name of product

This topic has 3 replies, 3 voices, and was last updated 9 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: Dombici Serban
    Dombici Serban
    Participant
    January 13, 2024 at 08:03

    Hello,

    how could I remove the text that appears after Add to card? A few characters appear there and then the product name begins.

    https://ibb.co/TL5M7xN

    2 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    January 13, 2024 at 12:44

    Dear Serban Dombici,

    We hope this message finds you well.

    We’re writing to inform you that we have implemented a code enhancement within the functions.php file of your child theme. The specific changes were made between lines 7 and 10, as detailed below:

    
    add_filter('woocommerce_product_add_to_cart_description', 'n2t_woocommerce_product_add_to_cart_description', 999);
    function n2t_woocommerce_product_add_to_cart_description(){
        return 'Adaugă în coș';
    }
    

    For your convenience, a screenshot of the update is available at the following link: [https://prnt.sc/ukLKEBu5kDmN](https://prnt.sc/ukLKEBu5kDmN)

    We kindly request that you review the modifications at your earliest convenience to ensure everything is functioning as expected.

    Should you have any questions or require further assistance, please do not hesitate to reach out.

    Warm regards,
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 18, 2024 at 09:18

    Dear Dombici Serban,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Add to card button – remove name of product’' 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.