order-history.html


Purpose: Displays a complete list of orders for a specific customer (accessible from the “View All” link on the “My Account” page.)

Code Blocks

Note: It is important to preserve the commented tags to ensure the software performs correctly.

[orderhistory_header]
		<!--START: myAccount-->
		<!--END: myAccount-->
			[orderhistory_message]
			[orderhistory_date]
			[orderhistory_ordernum]
			[orderhistory_amount]
			[orderhistory_status]
			[orderhistory_details]
		<!--START: ordertemplate-->
			[num]
			[odate]
			[invoicenum_prefix]
			[invoicenum]
			[orderamount]
			[orderstatus]
			[orderid]
			[orderhistory_vieworderlink]
			<!--START: btnRMA-->
				[orderid]
				[idRma]
			<!--END: btnRMA-->
		<!--END: ordertemplate-->

Note: Code blocks and their respective variables will only work with specific template pages.

Variables

Note: Many of the following variables are dynamically inserted from your cart’s Settings ->Design ->Store Language section.

  • [orderhistory_header] – Displays the Title of the “Recent Orders” heading on the page. (See Settings ->Design ->Store Language)
  • [orderhistory_message] – Displays the Text of the “Here is a history of your past purchases…” message at the top of the page. (See Settings ->Design ->Store Language)
  • [orderhistory_date] – Displays the Title of the “Date” column heading. (See Settings ->Design ->Store Language)
  • [orderhistory_ordernum] – Displays the Title of the “Order #” column heading. (See Settings ->Design ->Store Language)
  • [orderhistory_amount] – Displays the Title of the “Amount” column heading. (See Settings ->Design ->Store Language)
  • [orderhistory_status] – Displays the Title of the “Status” column heading. (See Settings ->Design ->Store Language)
  • [orderhistory_details] – Displays the Title of the “Details/RMA” column heading. (See Settings ->Design ->Store Language)
  • [num] – Inserts the Order’s sequential number on the Customer record. (Shown in order from newest to oldest)
  • [odate] – Inserts the Order Date
  • [invoicenum_prefix] – Inserts the Order Prefix
  • [invoicenum] – Inserts the Order Number.
  • [orderamount] – Inserts the Order Amount.
  • [orderstatus] – Inserts the Order’s current Status.
  • [orderid] – Used by the software to reference the Order’s Database ID in order to provide a link to the order details.
  • [idRma] – Used by the software to reference the Order’s RMA Database ID in order to provide a link to the order details.
  • [orderhistory_vieworderlink] – Inserts a link to the Order Details or RMA (if applicable).
X