Show PDF link on order-details.php template
-
is it possible to add a PDF download link to the order-details.php template page ? (there is no thank you page redirection)
on order-details.php i tried to add this:
<?php echo do_shortcode( '[bewpi-download-invoice title="Download (PDF) Invoice {formatted_invoice_number}" order_id="' . $order->id . '"]' ); ?>
but its just showing the string.
im using it with the WC “bank transfer” payment method, the order exists, the status is “processing”. a PDF has been generated in the backend for the order.Thanks
- The topic ‘Show PDF link on order-details.php template’ is closed to new replies.