Thanks, Justin – I appreciate your follow up.
Just to add – I did make some changed to the customer-renewal-order.php file on woocommerce subscriptions, but kept the function in there to get_order_number
Do you think that maybe I caused the conflict? Or, is the fix going to handle this?
Here’s what my file looks like:
<?php if ( ! defined( ‘ABSPATH’ ) ) exit; ?>
<?php do_action( ‘woocommerce_email_header’, $email_heading ); ?>
<?php if ( $order->status == ‘pending’ ) : ?>
<p><?php printf( __( ‘Your membership has expired. You can renew today online – payments via Credit Card, Check, Paypal, and Bitcoin. Please use the following link: Renew Now »‘, WC_Subscriptions::$text_domain ), get_bloginfo( ‘name’ ), $order->get_checkout_payment_url() ); ?></p>
<?php endif; ?>
<?php do_action( ‘woocommerce_email_before_order_table’, $order, false ); ?>
<h2><?php echo __( ‘Order:’, WC_Subscriptions::$text_domain ) . ‘ ‘ . $order->get_order_number(); ?></h2>
<table cellspacing=”0″ cellpadding=”6″ style=”width: 100%; border: 1px solid #eee;” border=”1″ bordercolor=”#eee”>
<thead>
<tr>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Product’, WC_Subscriptions::$text_domain ); ?></th>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Quantity’, WC_Subscriptions::$text_domain ); ?></th>
<th scope=”col” style=”text-align:left; border: 1px solid #eee;”><?php _e( ‘Price’, WC_Subscriptions::$text_domain ); ?></th>
</tr>
</thead>
<tbody>
<?php echo $order->email_order_items_table( false, true, false ); ?>
</tbody>
<tfoot>
<?php
if ( $totals = $order->get_order_item_totals() ) {
$i = 0;
foreach ( $totals as $total ) {
$i++;
?><tr>
<th scope=”row” colspan=”2″ style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘label’]; ?></th>
<td style=”text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo ‘border-top-width: 4px;’; ?>”><?php echo $total[‘value’]; ?></td>
</tr><?php
}
}
?>
</tfoot>
</table>
<?php do_action( ‘woocommerce_email_after_order_table’, $order, false ); ?>
<?php do_action( ‘woocommerce_email_footer’ ); ?>