0

I'm working on customizing Woocommerce's Emails on my installation and I'm trying to add a label with the sign up fee per product on the Customer Invoice email inside subscription-info.php

I purely want to print the value to a cell but I haven't been successful. Can anyone point me in the right direction?

Thanks!

Edit: I'm using WooCommerce Subscriptions plugin.

1 Answers1

0

I found how to do this by adding

$sign_up_fee   = $product->get_sign_up_fee();

On email-order-items.php inside $product if

if ( is_object( $product ) ) {
    $sku           = $product->get_sku();
    $purchase_note = $product->get_purchase_note();
    $image         = $product->get_image( $image_size );
    $sign_up_fee   = $product->get_sign_up_fee();
}

Then I echo it on a new