WordPress.org

Forums

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

  1. wink web
    Member
    Posted 2 years 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 2 years 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

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic