WooCommerce

Wordpress WooCommerce open-source E-commerce software.


Howto add attachments to woocommerce e-mails

Posted on February 11, 2015

Attach files to any woocommerce email. add_filter( 'woocommerce_email_attachments', '_custom_attach_file', 10, 3); function _custom_attach_file ( $attachments, $status , $order ) { // attach file only when the order resides in the following statusses $allowed_statuses = array( 'customer_processing_order' ); if (isset( $status ) && in_array($status, $allowed_statuses)) { $your_path = dirname...

Read More


WooCommerce Variable Product show lowest Price

Posted on January 15, 2015

In WooCommerce you can create products with multiple variations, i.e. colors, sizes etc.. You can create custom variations through the product features tab when editing a product. WooCommerce shows the lowest through the highest price, when you want to show only the lowest price, you can use this code in a (custom) plugin. Before:         After:         Add this ...

Read More