This topic has 13 replies, 2 voices, and was last updated 2 years, 11 months ago ago by Goostaf
Hello. Is it possible to replace the Trash icon with the word “Add to Trash”?
Hello,
You provided screenshot of the add to cart icons. I don’t see any trash icon there.
Could you, please, provide correct screenshot.
Regards
Showed it on the screen 🙂 We wanted this icon Replace with the word “Add to cart” or “Buy”, that is, it will be just a word instead of a cart as text.
To be something like this everywhere
Hello,
That’s possible only by additional customization. Provide us with WP Dashboard and FTP access to guide you.
Regards
Thanks in advance, I dropped it, but please show us what is being done, so that if something happens, I can return everything back ..
Hello,
What about FTP access? We can’t make changes in files using Dashboard.
Regards
Sorry, done
Hello,
Added below custom to child theme style.css
.template-content .content-product .quantity-wrapper .button {
font-size: 12px;
padding: 0 15px;
}
.template-content .content-product .quantity-wrapper .button:before {
content: '';
}
and overwrote /wp-content/themes/xstore-child/woocommerce/content-product-slider.php and /wp-content/themes/xstore-child/woocommerce/content-product.php files.
Check now.
Regards
Great, thank you very much, another question, for the variation products, the text is now changing, is this how it should be?
It turns out that there was a “Select” button on variable products, if you can leave it, then let it be, but now it changes to Add to cart too.
Hello,
I don’t understand your question. Yout set default variation for the variable product. That’s why Add to cart button appears instead of the Select options. If you don’t choose any option or clear your selection then the Select option button appears. You can translate the text using XStore core translation files.
What’s wrong with that?
Regards
Let it stay that way, thank you very much 🙂
Tagged: add to trash, possible, replace, themes, trash icon, woocommerce, wordpress
The issue related to '‘Is it possible to replace the Trash icon with the word “Add to Trash”?’' has been successfully resolved, and the topic is now closed for further responses