AShop V User's Guide Page 38

  • Download
  • Add to my manuals
  • Print
  • Page
    / 309
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 37
AShop V User Guide38
AShop Software © Copyright 2002 - 2010
3. There is a set of receipt templates for each language. The receipt templates are located in the
templates directory. There is a plain text receipt template and an HTML receipt template for each
language. Plain text or HTML receipt is selected through the admin panel > Configuration > Shop
Parameters menu.
Tokens are used to show customer and order information in the receipt. Start and stop comments
are used to separate each section.
clip of receipt-en.html file
A set of English receipt templates is included with the AShop V new installation package. Receipt
templates are also included with each language set.
If there isn't a receipt template for the language that the customer has selected, the default one
named receipt.html, which is distributed in English language, will be used. To change to a different
default language for the receipt copy the language specific template to receipt.html. To make all
receipts use the same language you would simply remove all the language specific templates and
keep only receipt.html.
See also: Add A Language Set
2.16 Add A Language Set
To create a new complete language set...
1. Make a copy of the set of files that are in the language/en directory and rename it with the 2
character abbreviation for the language, for instance French is fr, Spanish is sp, etc. Translate the
text in all of the files within the new directory. The words with all capital letters on the left hand side
are the constant names. DON'T CHANGE THE CONSTANT NAMES. The text is on the right hand
side in each line. If you use quotes (single ' or double " ) escape them with a backslash \" or there
will be parse errors when you run the scripts. For some languages, such as French, apostrophes
are used often to accent characters. If the special characters cause parse errors, replace them with
the ascii equivalent. Example: n' in the html source displays n' (n followed by an apostrophe/
accent) in the web page.
Page view 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 308 309

Comments to this Manuals

Vikijrd 04 Jan 2024 | 13:14:20

urenrjrjkvnm

Evakut 07 Jan 2024 | 16:14:48

Med

BryanBag 08 Apr 2024 | 00:32:20

Hello! Crazy discounts, hurry up! We are Drop Dead Studio and our goal is to help companies achieve impressive sales results through automated marketing. I. We sell fresh databases for GSA Search Engine Ranker. • The databases are updated monthly through 24/7 parsing and by connecting purchased databases from other sources. • You have the option to purchase a one-time fresh database or pay for a lifetime subscription for updates. ATTENTION! 40% discount only until 04/10/2024! When ap