Home Forums Themes Support Clarivo How to change view cart tick to view cart text in product loop?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8288
    topscore
    Supported

    Hi

    i am looking to customize view cart button text in woo commerce product loop currently it showing a tick (<i class=”ion-checkmark-round”></i>) after clicking add to cart button. I found that it is coming from clarivo/assets/js/haru-main.js line number 1349. I need to show View cart button instead of the current tick. Can you please help me. I don’t want to change the current file of your theme, how can i override those button text?

    #8292

    Hi,
    Thanks for choosing our product.
    In this case after you added product to cart. It will show tooltip View cart:
    https://prnt.sc/xz8och
    So in this case button with text View cart is unnecessary and it will break our design.
    If you want to customize Add To cart button you can do it via child theme:
    the template for customize is: wp-content/themes/clarivo/woocommerce/loop/add-to-cart.php
    You can customize it on line 53:
    https://prnt.sc/xz8wr3
    The other solution you can change this code:
    <i class="ion-checkmark-round"></i>
    to:
    <span class="ion-checkmark-round">View Cart</span>
    Hope this helps!

    Set up and use a child theme

    How to customize WordPress theme using Child theme

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.