cricket-hockey Posted December 9, 2016 Share Posted December 9, 2016 I'd like to change the invoice to display the product quantity ordered in a larger font if more than one item has been ordered. This will help to prevent picking errors. So if someone orders 2 or 3 of a single product for example, the quantity will be displayed in 18pt font. If they order just one then it is displayed in the normal font size. Is this possible please? Link to comment Share on other sites More sharing options...
tuk66 Posted December 12, 2016 Share Posted December 12, 2016 Try to change {$order_detail.product_quantity} to {if $order_detail.product_quantity > 1} <span style="font-size: 18pt">{$order_detail.product_quantity}</span> {else} {$order_detail.product_quantity} {/if} in the /pdf/invoice.product-tab.tpl file. Link to comment Share on other sites More sharing options...
cricket-hockey Posted December 12, 2016 Author Share Posted December 12, 2016 Works a treat. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now