Is it possible to replace the Trash icon with the word “Add to Trash”?

This topic has 13 replies, 2 voices, and was last updated 2 years, 4 months ago ago by Goostaf

  • Avatar: Goostaf
    Goostaf
    Participant
    November 29, 2021 at 14:30

    Hello. Is it possible to replace the Trash icon with the word “Add to Trash”?

    Please, contact administrator
    for this information.
    12 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 29, 2021 at 15:50

    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

    Avatar: Goostaf
    Goostaf
    Participant
    November 29, 2021 at 16:08

    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.

    Please contact administrator
    for this information.
    Avatar: Goostaf
    Goostaf
    Participant
    November 29, 2021 at 16:15

    To be something like this everywhere

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 29, 2021 at 18:16

    Hello,

    That’s possible only by additional customization. Provide us with WP Dashboard and FTP access to guide you.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    November 29, 2021 at 19:07

    Thanks in advance, I dropped it, but please show us what is being done, so that if something happens, I can return everything back ..

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 30, 2021 at 11:42

    Hello,

    What about FTP access? We can’t make changes in files using Dashboard.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    November 30, 2021 at 11:52

    Sorry, done

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 30, 2021 at 12:12

    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

    Avatar: Goostaf
    Goostaf
    Participant
    November 30, 2021 at 14:59

    Great, thank you very much, another question, for the variation products, the text is now changing, is this how it should be?

    Please contact administrator
    for this information.
    Avatar: Goostaf
    Goostaf
    Participant
    November 30, 2021 at 17:34

    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.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 1, 2021 at 15:41

    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

    Avatar: Goostaf
    Goostaf
    Participant
    December 1, 2021 at 15:44

    Let it stay that way, thank you very much 🙂

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

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

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