Support » Plugin: WooCommerce Smart COD » Changing the “Cash on Delivery” title on checkout page to something else

  • Resolved ABHI

    (@abhi9)


    Hi Stratos, Great plugin

    I wish to change the “Cash on Delivery” on checkout page to something else like “COD Charges”

    Is there a filter or a way to do so?

    Please see this image

    • This topic was modified 1 year, 5 months ago by  ABHI.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Stratos Vetsos

    (@fullstackhouse)

    Hi Abhi,

    That was the way the plugin used to work, but we change this to a fixed WooCommerce string ( Cash on delivery ), so it can be translatable.

    In our next release, we going to add a filter for this.

    Best Regards

    Thanks Stratos. Looking forward to the next release 🙂

    I’m waiting me too this filter, thanks Stratos Vetsos.

    Me too ^^ It look quite funny on my site at this time, because only the “Cash on Delivery” sentence is in English.
    While we’re waiting, is there any change we can directly change “Cash on Delivery” to something else?

    Plugin Author Stratos Vetsos

    (@fullstackhouse)

    Hi guys,
    The functionality is now published on 1.4.9.4
    Please use the filter in your functions.php like this

    add_filter( 'wc_smart_cod_fee_title', 'change_cod_title' );
    
    function change_cod_title( $title ) {
    	return 'My custom fee title';
    }
    

    Let me know if any issues,

    Best Regards

    Hi,

    Updated and problem is solved ^^

    Thank you so much,
    Have a nice day.

    Hi Stratos @fullstackhouse

    Thank you so much for great plugin .

    I have three different shipping zone .

    How can I disable all cod row when extra fee is 0 ? I don’t want to show any title or even 0 in some shipping zones .

    Thanks,
    mohammad

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing the “Cash on Delivery” title on checkout page to something else’ is closed to new replies.