The text appeared instead of the “Add to cart” icon

This topic has 14 replies, 3 voices, and was last updated 4 years, 8 months ago ago by Goostaf

  • Avatar: Goostaf
    Goostaf
    Participant
    April 14, 2021 at 18:55

    After the update, instead of the basket icon, we have a text on the card (screen), how to fix it?

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2021 at 07:01

    Hello,

    Add this class:
    products-hover-only-icons
    in settings of the Products element

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 15, 2021 at 08:40

    I didn’t understand what to do.
    After updating the theme, the icon became text.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2021 at 08:50

    What version of the theme did you use before the update?
    Please provide temporary wp-admin access.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 15, 2021 at 09:08

    According to the version, I can’t say, it seems like something like that has already happened before, but I can’t find it in the topics here. I drop the data

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 15, 2021 at 09:16

    Please check credentials – https://gyazo.com/9b0aa0f1ffcfab8c565747e9f65b4d7d

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 15, 2021 at 12:33

    Sorry, fix it.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 15, 2021 at 12:59

    Hello,

    Issue was caused by your custom CSS https://prnt.sc/11g0cjo
    I had to add important for our styles to overwrite your custom because I’m not sure why you added important in your styles instead of using additional selectors to apply styles.
    Anyway, check now.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 15, 2021 at 16:27

    Sorry for the many questions, almost everything was solved 🙂

    1. On our 2nd site there is a plugin that displays the Order in 1 click button next to the Add to cart button, it is displayed in the product card, it can also be displayed in the catalog using the hook: awooc_before_button, but how to make this button appear and on the main page of the cards? And can you change the icon on it? Throwing off examples.

    Please contact administrator
    for this information.
    Avatar: Goostaf
    Goostaf
    Participant
    April 16, 2021 at 09:01

    Oh, I noticed that the second button also appeared on the main one, so everything works, all that remains is to change the icon, maybe this?

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 16, 2021 at 10:25

    Hello,

    Use WooComerce Hooks in child theme functions.php to show additional information on the shop page https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
    For example,
    add_action( 'woocommerce_after_shop_loop_item_title', 'awooc_before_button', 10 );

    If you need help with this customization submit customization request here or contact plugin author if you want to show their button in any other place. We are able to help only with issues related to theme settings and features.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 16, 2021 at 12:58

    Thank you, I wrote below what we managed to display, the question is, is it possible to change the icon of our button? It repeats the trash can icon

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 16, 2021 at 14:08

    Hello,

    I see. Use the code below

    .footer-product  .awooc-custom-order.button:before {
        content: '\e918';
    }

    If you want to use any other icon from the list https://xstore.8theme.com/xstore-icons/ then just change the content code.

    Regards

    Avatar: Goostaf
    Goostaf
    Participant
    April 16, 2021 at 14:33

    Great, everything worked out, thank you very much again !!! You are super!

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

The issue related to '‘The text appeared instead of the “Add to cart” icon’' 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.