A template used for creating return forms in PDF format.
Kuvaus
PDF printout templates are now PDF themes.
From now on, the HTML templates for PDF printouts are defined in PDF themes, which are separate from the store theme. PDF themes are installed in the store's themes/print folder.
Any PDF templates included in the store themes will continue to function. However, we recommend you to create a designated PDF theme out of the printouts as soon as possible.
Return forms can be printed in the admin panel, in the
section of the order page. Additionally, customers can also download the return form at any time by accessing the or pages in the online store's customer area.Technically, the return form works just like any other MyCashflow printout but its design should include the possibility to mark the products to be returned as well as the field for the returner's signature.
Also, the return form should always include certain items required by law.
The template's HTML file is converted intothe PDF format by using the Prince XML program, which has a robust CSS support and, to some extent, supports JavaScript as well.
To see instructions for designers, check the program's user guide.
Sivupohjan ominaisuudet
- Sivupohjan sijainti
- themes/print/THEME/returndocument.html
- Sivupohjan URL
- The printouts do not have a URL address.
- Asetettu näkyvyys
Toteutus oletusteemassa
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{%Receipt} {OrderNumber}</title>
<link rel="stylesheet" type="text/css" href="{ThemeUrl}/css/printables.css?date=20170803" />
</head>
<body>
<div id="ReceiptHeader">
<div id="Logo">
{Logo}
</div>
<div id="ReceiptTitle">
<h4>{%Ordernumber} {OrderNumber}</h4>
<h1>{%ReturnDocument}</h1>
</div>
</div>
<p id="ReturnIntro">{%ReturnDocumentHelpText}</p>
<div id="ReturnAddressInfo">
<div class="AddressColumn">
<h3>{%ReturnReceiver}</h3>
<p>
{ContactCompany}
{ContactBusinessID(
before: ' (',
after: ')'
)}
<br>
{ContactStreetAddress1(
after: '{ContactStreetAddress2(before: ', ')}'
)}
<br>
{ContactZip} {ContactCity(after:', ')} {ContactCountry}
</p>
<p>
{ContactEmail(after:'<br>')}
{ContactInternet(after:'<br>')}
{ContactPhone(after:'<br>')}
</p>
</div>
<div class="AddressColumn">
<h3>{%OrderInformation}</h3>
{OrderInfo}
<h3>{%Returner}</h3>
<p>
{OrderCustomerInformation}
</p>
</div>
</div>
<h3>{%ReturnedProducts}</h3>
<p>{%ReturnedProductsLegalText}</p>
{OrderProducts(
coupon: 'false',
before: '
<table id="ReturnedProducts">
<tbody>
',
helper: '{{
<tr>
<td class="checkbox">
<div></div>
</td>
<th>
{OrderProductName}
{OrderProductVariation(before: ' <br /><em class="ProductVariation">',after:'</em>')}
{OrderProductCode(
before: ' <small>({%ProductCode}: ',
after: ')</small>'
)}
</th>
</tr>
}}',
after: '
</tbody>
</table>
'
)}
<div id="Signature">
<h4>{%CustomerSignature}</h4>
</div>
</body>
</html>