Modular Merchant
QuickCode™ Glossary
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:











The {URL-PRINTABLE-ORDER-RECEIPT} QuickCode Tag may be used to create a link to an order's printable receipt.

Requirements / Prerequisites

The {URL-PRINTABLE-ORDER-RECEIPT} QuickCode Tag must be placed between {ORDER-HISTORY-BLOCK-BEGIN} and {ORDER-HISTORY-BLOCK-END}, and is compatible with the "Order History" section of the customer account area.

By default, the "Order History" section is displayed on the first page of the customer account area, which uses the customer_account_1.tpl template. However, {URL-PRINTABLE-ORDER-RECEIPT} may be added to other customer account area templates, as long as it is placed between {ORDER-HISTORY-BLOCK-BEGIN} and {ORDER-HISTORY-BLOCK-END}.

Example of Use

1. Add the following code to one of the customer account area templates:

<strong>Order ID: {ORDER-ID}</strong>&emsp;<a href="{URL-PRINTABLE-ORDER-RECEIPT}" target="_blank">Printable receipt</a>

2. When the corresponding customer account area page is viewed by a logged in customer who has placed five orders (Order SID 10501, 10623, 10689, 10744, and 11802), the following will be displayed:
Order ID: 10501Printable receipt
Order ID: 10623Printable receipt
Order ID: 10689Printable receipt
Order ID: 10744Printable receipt
Order ID: 11802Printable receipt
Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {URL-PRINTABLE-ORDER-RECEIPT} QuickCode Tag is changed into the source code below prior to the web page being displayed.
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map