
Designguide 21
AShop Software © Copyright 2011
Editing Receipt Template Layout and Content
Receipt templates are in the templates directory. There are two receipt templates for each language;
html and text. Receipt templates are named with -en, -sp, -it, -jp, and so on to indicate the language.
Example: English language receipts are named receipt-en.html and receipt-en.txt. Modify the text in
receipt templates as needed, but do not change or remove the divider comment tags and token names.
Here is a list of tokens and how they are used in receipt templates.
%ashopname% The name of your store
%dateshort% Date of the order
%invoice% Invoice/Order number
%customer_firstname% Customer's first name
%customer_lastname% Customer's last name
%customer_address% Customer's street address
%customer_city% Customer's city
%customer_state% Customer's state
%customer_zip% Customer's zip code
%customer_country% Customer's country
%customer_email% Customer's email address
%customer_phone% Customer's phone number
%customer_info% Extra form fields defined by the shop owner
%receipt_description%
%payoption% Method of payment used
%payoptionfee% Fee charged for using specified payment method
%subtotal% Total before taxes and shipping
%salestax% Tax total
%shipping% Shipping costs
%amount% Total cost billed
<!-- Shippingdiscount --> Display shipping discount (if any)
%shippingdiscount% Discount on shipping
<!-- /Shippingdiscount -->
Comentarios a estos manuales