Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Customize the Invoice and Order PDF

Describes how to customize the Invoice and Order PDFs in Optimizely Configured Commerce's Spire CMS.

You can customize the OrderDetails, ListDetails and InvoiceDetails PDFs by copying them from
/src/InsiteCommerce.Web/_systemResources/Themes/Responsive/Views/Directives/PdfViews to /Extensions/Views/Pdfs.

You must also set them up as embedded resources. This is set up by default in the Extensions project with

  <Target Name="EmbedViews" AfterTargets="BeforeBuild">
    <ItemGroup>
      <EmbeddedResource Include="***.cshtml" />
    </ItemGroup>
  </Target>