WooCommerce - excelling eCommerce
Cash on delivery - description (2 posts)

  1. winklessweb
    Posted 1 year ago #

    Hi, I'm wanting to change the description for the "Cash On Delivery" payment method in the checkout. It is currently "Pay with Cash upon delivery".

    I've tried changing the following lines in class-wc-gateway-cod.php, but it's not updating:

    'description' => array(
    'title' => __( 'Description', 'woocommerce' ),
    'type' => 'textarea',
    'description' => __( 'Payment method description that the customer will see on your website.', 'woocommerce' ),
    'default' => __( 'Pay with cash upon delivery if you have an arrangement in place.', 'woocommerce' ),

    Am I looking in the wrong place? Any assistance would be appreciated. Thanks


  2. jameskoster
    Plugin Author

    Posted 1 year ago #

    I wouldn't touch core files like this. Easiest way to change text like this would be with a translation. Read more; http://docs.woothemes.com/document/woocommerce-localization/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic