WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. winklessweb
    Member
    Posted 8 months 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

    http://wordpress.org/plugins/woocommerce/

  2. jameskoster
    Member
    Plugin Author

    Posted 8 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic