Fix BigCommerce printing invoice from user account has no style
Print invoice from admin dashboard:
You will get a nicely invoice:
However, if you your user prints invoice from their user account, the invoice is non-styled and unformatted.
This bug seems to appear in all Stencil BigCommerce themes available on the market, include the default theme Cornerstone.
We found a simple way to fix this issue in our BigCommerce themes. It also works for any Stencil themes as well.
Solution
Edit template file /templates/pages/account/orders/invoice.html in Edit Theme Files editor.
Edit the code as showing below:
{{#partial "head"}}
{{{stylesheet '/assets/css/invoice.css'}}}
{{/partial}}
Save it. Now your user's invoice should works like printing from admin page.
Theme design & customization blog
-
The Ultimate Guide to Showcasing Products by Category for All BigCommerce Themes
In today's digital marketplace, the way you display your products can make a significant differen …23rd May 2023 -
Auto update quantity of products bought together according to the main product qty in Supermarket theme
Insert the code below to Storefront > Script Manager:<script>(function($) { $('body').on …9th Sep 2019 -
Identify which products bought together belong to the main product in Supermarket theme
Solution:Create a product option named Parent SKU:Edit the option set of your also bought together p …9th Sep 2019