Add shipping costs email
-
Hey guys,
i make a new email layout for my wordpress shop. Now i use my own definitions to show the taxes and prices. I can’t show the shipping costs.
Can anyone help me?
<tfoot> <?php if ( $totals = $order->get_order_item_totals() ) { $i = 0; ?><!--<tr> <th scope="row" colspan="4" 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>--> <tr class="cart-subtotal"> <th scope="row" colspan="2"><strong><?php _e( 'Nettowarenwert', 'woocommerce' ); ?></strong></th> <td><strong><?php echo $woocommerce->cart->get_cart_subtotal(); ?></strong></td> </tr> <tr class="shipping"> <th scope="row" colspan="2" style="text-align:left";><?php _e( 'Fracht-/ und Versandkosten Netto', 'woocommerce' ); ?></th> <td><?php echo $total['value']; ?></td> </tr> <tr class="tax"> <th scope="row" colspan="2" style="text-align:left";><?php _e('Tax', 'woocommerce'); ?></th> <td><?php echo $woocommerce->cart->get_cart_tax(); ?></td> </tr> <?php } ?> </tfoot>
The topic ‘Add shipping costs email’ is closed to new replies.