Home Forums Plugin Support WP User Frontend (Free Version) changing cart word to icon

This topic is: not resolved

This topic contains 7 replies, has 2 voices, and was last updated by  Nayem 4 years, 3 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38484

    pry de
    Member
    Post count: 57

    Hi, how do you change the word cart in upper right corner into image?

    Thankyou

    #38508

    Nayem
    Moderator
    Post count: 6480

    Hello Pry de,

    I am not clear about your question. Can you please describe me in more details with a screenshot?.

    Thank you ๐Ÿ™‚

    #38549

    pry de
    Member
    Post count: 57

    in dokan theme there is a word cart in upper right corner right?
    if we can change the word “cart” into an icon of cart basket.
    how can we do this?

    like home word, instead of word “home”, we use house icon link

    thankyou

    #38579

    Nayem
    Moderator
    Post count: 6480

    Hello Pry de,

    Please open WP content/Plugin/Dokan/includes/template-tags.php and find this function- function dokan_header_user_menu(). You will see this line under this function in line nubmber 519- <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php printf( __( 'Cart %s', 'dokan' ), '<span class="dokan-cart-amount-top">(' . WC()->cart->get_cart_total() . ')</span>' ); ?> <b class="caret"></b></a>

    You have to change the cart word like as you want.

    Thank you ๐Ÿ™‚

    #38599

    pry de
    Member
    Post count: 57

    Hi,

    where can I insert the icon cart? and what foldere should I put the icon cart?

    Thankyou Nayem

    #38607

    Nayem
    Moderator
    Post count: 6480

    In this place ( 'Cart %s', 'dokan' ), you can write this as ( 'Your own thing %s', 'dokan' ),.

    Thank you ๐Ÿ™‚

    #39390

    pry de
    Member
    Post count: 57

    This just change the word “cart”
    I wanted to add a icon cart beside the word “cart”
    or just icon of cart, just like other wordpress woocommerce, it gives more cleaner look

    #39463

    Nayem
    Moderator
    Post count: 6480

    Hello Pry de,

    You may require customization. I have informed about the place where you have to change. I can not provide you more instruction about that because we do not provide support for customization.

    Thank you ๐Ÿ™‚

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

The topic ‘changing cart word to icon’ is closed to new replies.