Jump to:

2082 Posts in 1002 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » how to style the invoice/receipt templates

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 810 Views
  • hc
    Avatar
    Community Member
    6 Posts

    how to style the invoice/receipt templates Link to this post

    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.

  • Optic Blaze
    Avatar
    Community Member
    161 Posts

    Re: how to style the invoice/receipt templates Link to this post

    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.

    810 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.