WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Send new order emails to different address (1 post)

  1. pandaweb
    Member
    Posted 1 year ago #

    I would like to pull store_email from the database and use it as the email to which new orders are sent to on line 48 of the second pastebin. store_email is stored as meta for each order (I followed lesson 3)

    I am able to call that input by using:

    <?php echo wp_kses_post( $post->store_email ); ?>

    But I need it to work, like I said, on line 48 of the second pastebin file.

    This file is the email that is sent out: http://pastebin.com/SFxWLKue
    This file is what defines where the email is sent (line 48): http://pastebin.com/VCWEgdgq
    This file is extended by the previous file: http://pastebin.com/pZRrtkeU

    (I know I should probably be creating a filter but this needs to be a quick job)

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.