This topic has 3 replies, 3 voices, and was last updated 9 months, 1 weeks ago ago by Andrew Mitchell
Hello,
how could I remove the text that appears after Add to card? A few characters appear there and then the product name begins.
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
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
Tagged: add to cart, customization, ecommerce, remove product name, themes, woocommerce, wordpress
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