Download WCPDF Invoice on Order Details
-
Hi,
We wanted to display a download link for the invoices on the order detail page, so we added this snippet:
add_action( 'woocommerce_order_details_before_order_table', function() { echo do_shortcode('[wcpdf_download_invoice]'); });
That kind of works, but it displays even if the invoice hasn’t been generated yet, which of course is bad UI. Beyond that, it also shows up on the ‘thank you’ page.
So wondering if it’s a bug that it displays even when the invoice hasn’t been generated yet, or if it requires some extra code for the snippet?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Download WCPDF Invoice on Order Details’ is closed to new replies.