Modular Merchant
QuickCode™ Glossary
{IF-ORDER-HISTORY-BEGIN}
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 > {IF-ORDER-HISTORY-BEGIN}
<< {IF-ORDER-CONTAINS-SUBSCRIPTION-PRODUCTS-END} {IF-ORDER-HISTORY-END} >>
{IF-ORDER-HISTORY-BEGIN} Updated: 07/31/2012

This QuickCode tag checks to see if the currently logged in customer has any order history. If there is order history associated with the customer, then the {ORDER-HISTORY-BLOCK-BEGIN} tag will come into effect. If there is no order history found for the customer account, an error message will pop up stating "No orders for this customer account were found."

Requirements / Prerequisites

Must be used in conjunction with {IF-ORDER-HISTORY-END} QC tag.

Example of Use

{IF-ORDER-HISTORY-BEGIN}

    {ORDER-HISTORY-BLOCK-BEGIN}

...order history QC tags and other code here....


    {ORDER-HISTORY-BLOCK-END}
{ELSE}
    <span class="ERRORS">No orders for this customer account were found.</span>
{IF-ORDER-HISTORY-END}

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-ORDER-HISTORY-BEGIN} 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