Invoice amounts alignment
-
Since 3.0 upgrade the pricing amounts in the invoice form no longer line up next to the dollar sign.
see
Tried reinstalling fonts as mentioned in another post here, but that didn’t change anything.
Fix is probably something simple…
-
Hi @forkmedia,
Are you using the default Simple template under WooCommerce > PDF Invoices > General tab or a custom template?
It says “yourtemplate (Custom)” under Choose a template but when I go into the plug-in’s template folder via FTP, I don’t see that template. It’s been years since I set this up so I’m not sure anymore about how this template was originally created.
I found the custom template here:
wp-content/themes/metro-pro/woocommerce/pdf/yourtemplate
what do I need to do?
Thanks for providing more details about it!
This means that you need to update your custom template with the code of the default Simple template (source).
However, I wonder why you’re using a custom PDF template. If you only performed a small change, like adding a custom field, for instance, my recommendation is to use the customizer, included in the Premium Templates to do this (and switch to the Simple Premium template, that it’s always up-to-date), or the PDF template action hooks instead (switching to Simple template), this way you no longer have to worry about updating the code from your custom PDF template: We keep our templates updated for you!
I just compared my old custom template to your new Simple template. I’m surprised you still don’t automatically include a separate field group for Shipping Address. In over 30% of our orders, that data is different, so we want that to show up on the invoice and packing slip. On my old custom template everything else is pretty much the same as your Simple Template but adding the shipping address required shifting some elements around.
Honestly, I don’t remember how we set this up way back when (I just looked in my notes: it was Version 1.4.3 in July 2014!). And looking at the plug-in’s settings page, I don’t see how we add the Shipping Address to the Simple Template – there is an option that costs money and there are the action hooks, but looking at the explanations how to do this, it makes my head hurt since there are so many options.
I know this is second nature for you – easy peasy – but I guess if I were asked, I’d have to say the thing I’ve liked least about this extension is that its been updated so many times I find it difficult to use all the new stuff since I am not a programmer. I guess the simplest thing for me is to go back to just re-upload version 2.16 and ignore the constant barrage of updates. According to my quick count, since Version 1.43 there have been over a hundred updates. I have some WP plug-ins that have only been updated a few times in that period and they all work fine.
Hey, sorry about the rant. If asked, I’d still rate your plug-in FIVE ***** STARS!
Hi @forkmedia,
I’m surprised you still don’t automatically include a separate field group for Shipping Address.
We do have a setting for that! Please go to WooCommerce > PDF Invoices > Documents > Invoice, find the Display shipping address setting, and select Only when different from the billing address:

Honestly, I don’t remember how we set this up way back when (I just looked in my notes: it was Version 1.4.3 in July 2014!).
Wow, it’s surprised that it was still working: This says a lot about the backward compatibility of our plugin! 😛
And looking at the plug-in’s settings page, I don’t see how we add the Shipping Address to the Simple Template – there is an option that costs money and there are the action hooks, but looking at the explanations how to do this, it makes my head hurt since there are so many options.
I understand how frustrating it can be to find some settings or achieve certain customizations. That’s why we are always looking to provide more options to our users. For developers, we provide hooks that allow them to modify the plugin. For all other users, there are several options included in the plugin settings, and a couple of premium extensions, if they want to do more advanced things without the need for code.
However, whenever you need help, please open a new topic in these forums and we will do our best to help you!
I guess if I were asked, I’d have to say the thing I’ve liked least about this extension is that its been updated so many times I find it difficult to use all the new stuff since I am not a programmer.
I agree with you: Having updates too often can be exhausting. However, we strive to pack as many improvements as we can into as few releases as possible to avoid this. Still, it’s hard not to send updates as often as we do, especially when WooCommerce or the library we use to process PDFs are updated so quickly.
Although we tend to add new options with some frequency (you could actually ignore them if you don’t need them), we also included security patches and added compatibility between plugins (mainly with WooCommerce). My recommendation is to always update all your plugins to the latest version, especially plugins as crucial to your business as WooCommerce or ours. Not only for compatibility issues, but especially for the security of your site, and consequently, of your customers.
For your specific case, if you use the default Simple template, you won’t have to worry because we always keep them updated. That’s why I was asking the reason for using a custom PDF template: I wanted to help you achieve the same thing using our default template and not have to worry about updating this for yourself in the future.
Hey, sorry about the rant. If asked, I’d still rate your plug-in FIVE ***** STARS!
We appreciate these comments because they help us to improve the plugin every day!
By the way, since you mention it, if you don’t mind and have the time, do you think you could leave us a review?
Thanks in advance and all the best with your store!
I wrote: Honestly, I don’t remember how we set this up way back when (I just looked in my notes: it was Version 1.4.3 in July 2014!).
You replied: Wow, it’s surprised that it was still working: This says a lot about the backward compatibility of our plugin! 😛
Actually, vwersion 1.43 was the first time I installed it. I have religiously upgraded over 100 times since then. Version 3 seems to be the first time in all these years that the original custom template no longer worked.
I’ll check out your advice about the shipping address.
Thanks!
Okay,I changed to the Simple Template in V3 and enabled the Shipping Address setting. Looks pretty close to the custom template I was using before, so I’m happy.
Thanks again for the excellent support.
Actually, vwersion 1.43 was the first time I installed it. I have religiously upgraded over 100 times since then. Version 3 seems to be the first time in all these years that the original custom template no longer worked.
Oh, I understand now: Sorry the confusion!
Okay,I changed to the Simple Template in V3 and enabled the Shipping Address setting. Looks pretty close to the custom template I was using before, so I’m happy. Thanks again for the excellent support.
Glad to hear it! Now, I guess you shouldn’t worry about this for at least another 8 years, haha!
By the way, thank you very much for your review! 🙏
The topic ‘Invoice amounts alignment’ is closed to new replies.