Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

how to style the invoice/receipt templates


Go to End


2 Posts   2188 Views

Avatar
hc

Community Member, 6 Posts

24 January 2013 at 12:16am

hi there,
i'm trying to find the file/s i need to tweak the look of the invoices that go to folks after they purchase something from the shop. a programmer did the work on this site so am not super cluey.
i know it's generated from invoice.ss, and it brings in 'order_content.ss' from the includes folder (this is the bit i'd just like to change the padding and text-aligning on. i'm getting stuck on:
<th scope="col" class="left"><% _t("Order.PRODUCT","Product") %></th>
what is this line doing/referencing?
thanks very much.

Avatar
Optic Blaze

Community Member, 190 Posts

2 April 2013 at 10:59pm

Hi there,

If you need to change stuff like padding etc. It is best to make changes to the CSS files.

I would imagine that the css files you need to change is the Order.css and or the Order_Invoice.css files.

They should be located under your themes folder.