Modular Merchant
QuickCode™ Glossary
{URL-PRINTABLE-ORDER-RECEIPT}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{IF-ORDER-CONTAINS-SUBSCRIPTION-PRODUCTS-BEGIN}

{IF-ORDER-CONTAINS-SUBSCRIPTION-PRODUCTS-END}

{IF-ORDER-HISTORY-BEGIN}

{IF-ORDER-HISTORY-END}

{IF-PAYPAL-WPS-ELIGIBLE-BEGIN}

{IF-PAYPAL-WPS-ELIGIBLE-END}

{IF-USING-PAYPAL-WPS-BEGIN}

{IF-USING-PAYPAL-WPS-END}

{ORDER-MEMOS}

{URL-PRINTABLE-ORDER-RECEIPT}

Orders > {URL-PRINTABLE-ORDER-RECEIPT}
<< {ORDER-MEMOS}
{URL-PRINTABLE-ORDER-RECEIPT} Updated: 06/28/2013

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:

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

 
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:
Example
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.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map