Order Totals Custom Display IN PDF Template
-
I am looking for documentation or examples on how to modify the order totals array/loop on the PDF template:
<?php foreach( $wpo_wcpdf->get_woocommerce_totals() as $key => $total ) : ?> <tr class="<?php echo $key; ?>"> <td class="no-borders"></td> <th class="description"><?php echo $total['label']; ?></th> </tr> <?php endforeach; ?>
Ultimately, I want to be able to control the display of items added via WooCommerce Product Add-ons. Currently, they are output to the totals.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Order Totals Custom Display IN PDF Template’ is closed to new replies.