Custom template additional content does’t show in invoice
-
I am using the free version, and I followed the steps in the forum to create a custom template, but the additional code is not showing up in my invoices.
First, i created the path: …/themes/DiviChild/woocommerce/pdf/yourtemplate
here I copied the files from the plugin directory ( invoice.php, style.css… )
I uploaded the image sign_invoice_mk.jpg to the same folder.
I added this code in the invoice.php ( with no additional css)
<?php do_action( 'wpo_wcpdf_after_order_details', $this->get_type(), $this->order ); ?>
<img src="<?php echo $this->get_template_path(); ?>/sign_invoice_mk.jpg"/> /* this is my code */
<div class="bottom-spacer"></div>
<?php if ( $this->get_footer() ) : ?>
I tried to disable and reenable the plugin, clear cache, but still the image does not show up in the invoice. I also make some changes to the css file, but those are not rendering also.What am I doing wrong, am I missing something ?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.