New Landing How can we help? Themeforest Theme Support Neighborhood Change shopping cart dropdown text

Viewing 6 posts - 1 through 6 (of 6 total)
  • #129104
    member
    Member
    Post count: 49

    Hi,
    How to change the shopping cart dropdown text, means in header when mouse hover on shopping cart icon , i need to change the text in dropdown
    view shopping cart
    proceed to checkout.
    I need to change the styles of these button and and change the text to VIEW CART > and CHECKOUT >
    I have edited it in sf-header.php but still its not reflecting in the site.

    Thanks

    #129109
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You need to change also sf-woocommerce.php at /includes/swift-framework/
    Thanks
    Mohammad

    #129144
    member
    Member
    Post count: 49

    Hi,
    After changing te text in both files i can find the text appearing 2 times.
    Attached the screen shot.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #129154
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you paste the block of code you changed so we can take a look?

    -Rui

    #129511
    member
    Member
    Post count: 49
    This reply has been marked as private.
    #129515
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    It should be:

    <div class=”bag-buttons”>
    <table><tr><td>
    cart->get_cart_url() ); ?>”><span><?php _e(‘VIEW CART >’, ‘swiftframework’); ?></span>
    </td><td>
    cart->get_checkout_url() ); ?>”><span><?php _e(‘CHECKOUT >’, ‘swiftframework’); ?></span>
    </td></tr></table>
    </div>
    

    and the code edited in sf-header.php

    
    $cart_output .= ‘<table>’;
    
    $cart_output .= ‘<tr><td><b>cart->get_cart_url() ).’”><span>’.__(‘VIEW CART >’, ‘swiftframework’).’</span></b></td>’;
    
    $cart_output .= ‘<td><b>cart->get_checkout_url() ).’”><span>’.__(‘CHECKOUT >’, ‘swiftframework’).’</span></b></td>’;
    
    $cart_output .= ‘</tr></table>’;
    

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register