Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {URL-PRINTABLE-ORDER-RECEIPT}
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: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
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 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map