Show custom radio field on pdf
-
Hey the custom conditional checkout field is not showing on pdf invoices. I have added the code as well but its not work.
add_action( 'wpo_wcpdf_after_order_data', 'wpo_wcpdf_billing_delivery_window_2', 10, 2 ); function wpo_wcpdf_billing_delivery_window_2 ($template_type, $order) { //if ($template_type == 'packing-slip') { ?> <tr class="form-row"> <th>Delivery Window:</th> <td><?php echo $order->get_meta('_billing_delivery_window_2'); ?></td> </tr> <?php //} }
this is the code I have added
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Show custom radio field on pdf’ is closed to new replies.