New Landing How can we help? Themeforest Theme Support Neighborhood Cart Totals – Tax and Shipping (free) questions

Viewing 15 posts - 1 through 15 (of 27 total)
  • #89060
    GroovyUK
    Member
    Post count: 25

    Hi,
    First a little background to give you context…
    On my trade only site, people will not pay at checkout, instead their order is sent via email. It is then verified manually by our sales team. We then we take payment and quote shipping by telephone.

    So, as you will see in the attached image, I have created a (sort of) custom message for shipping. But it is displaying (Free) afterwards – can i remove “(free)”? If so, how and where?

    #89110
    GroovyUK
    Member
    Post count: 25

    think I’ve worked it out, this is what I’ve used, will test thoroughly tomorrow but it seems to have done it.

    (file:functions.php)

    /*Remove (Free) label on cart page for “Shipping and Handling” if cost is $0*/
    function sv_change_cart_shipping_free_label( $free_label ) {
    return “Shipping will be quoted at Invoice”;
    }
    add_filter( ‘woocommerce_cart_shipping_method_full_label’ , ‘sv_change_cart_shipping_free_label’ );

    #89227
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Great! I am glad that you managed to resolve the issue .

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #92654
    lobbybros
    Member
    Post count: 52

    Hello GroovyUK, I’m interested in the same thing but yr code gives me a syntax error…is it working for you? Have you modified it since?
    Thks for yr help!

    #92662
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @lobbybros
    – Please explain syntax error problem with screenshot so i can suggest a quick exact solution.
    Thanks

    #92993
    4ddiction
    Member
    Post count: 28
    This reply has been marked as private.
    #92995
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove that code and use given below custom css code:-
    .wc-new-badge{display:none !important}
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #93000
    4ddiction
    Member
    Post count: 28

    Hi Mohammad,

    I’ve just added that that into the css but it doesn’t work.

    Attachments:
    You must be logged in to view attached files.
    #93002
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I need to your website url and wordpress admin login so i can check and resolve it easily.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #93012
    4ddiction
    Member
    Post count: 28
    This reply has been marked as private.
    #93027
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I made changes in functions.php so please check at cart page.
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #93030
    4ddiction
    Member
    Post count: 28
    This reply has been marked as private.
    #93038
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have done it so please check and let me know your feedback.
    Code used-:

    function sf_change_cart_shipping_free_label( $free_label ) {
        $free_label = str_replace('(Free)','',$free_label);
    return $free_label;//'Shipping will be quoted at Invoice';
    }
    add_filter( 'woocommerce_cart_shipping_method_full_label' , 'sf_change_cart_shipping_free_label' );

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #93693
    lobbybros
    Member
    Post count: 52

    Hi Mohammed,

    Thks for yr reply.
    I tried yr new code, but unfortunately “(Free)” is still showing.
    However, I am using shipping through WooCommerce Table Rate Shipping, does that make any differencce?

    Thks and kind regards
    Claudia

    #93741
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @lobbybros
    – please provide me wordpress admin login detail so i can check and resolve the issue.
    Thanks

Viewing 15 posts - 1 through 15 (of 27 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