Template Pages

Change the design of your My Account Page

Purpose: Template for the “My Account” page. It displays the default billing/shipping addresses, a list of previous orders, and other shopper specific details.

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

For example:

    [account_header-myaccount]  
    [account_welcome]  
    [account_recent-orders]  
    [orderhistory_date]  
    [orderhistory_ordernum]  
    [orderhistory_amount]  
    [orderhistory_status]  
    [account_billing-info]  
    [billing_firstname]  
    [billing_lastname]  
    [billing_address]  
    [billing_address2]  
    [billing_city]  
    [billing_state]  
    [billing_zip]  
    [billing_country]  
    [billing_phone]  
    [account_shipping-info]  
    [shipping_firstname]  
    [shipping_lastname]  
    [shipping_address]  
    [shipping_address2]  
    [shipping_city]  
    [shipping_state]  
    [shipping_zip]  
    [shipping_country]  
    [shipping_phone]  
    <!--START: username-->  
        [username]  
    <!--END: username-->  
    <!--START: CATEGORY_HEADER-->  
        [CONTENT]  
    <!--END: CATEGORY_HEADER-->  
    [orderhistory_date]  
    [orderhistory_ordernum]  
    [orderhistory_amount]  
    [orderhistory_status]  
    <!--START: ordertemplate-->  
        [odate]  
        [invoicenum_prefix]  
        [invoicenum]  
        [orderamount]  
        [orderstatus]  
        [orderid]  
    <!--END: ordertemplate-->  
    <!--START: savedorders-->  
        [orderhistory_savedcarts-header]  
        <!--START: savecart-->  
            [orderhistory_savedcarts-current]  
        <!--END: savecart-->  
        [orderhistory_date]  
        [orderhistory_amount]  
        <!--START: savedordertemplate-->  
            [odate]  
            [orderamount]  
            [orderid]  
            [account_view-details]  
            [orderkey]  
            [orderhistory_savedcarts-continue]  
        <!--END: savedordertemplate-->  
    <!--END: savedorders-->  
    <!--START: recurringOrders-->  
        [recurringorders_recurringorders-header]  
        [orderhistory_date]  
        [orderhistory_ordernum]  
        [orderhistory_amount]  
        [orderhistory_status]  
        <!--START: recurringordertemplate-->  
            [odate]  
            [invoicenum_prefix]  
            [invoicenum]  
            [orderid]  
            [account_view-details]  
            [orderamount]  
            [orderstatus]  
        <!--END: recurringordertemplate-->  
    <!--END: recurringOrders-->  
    <!--START: authNetCIM-->  
        [account_my-saved-creditcards]  
        [CustomerInfo_creditexpiration]  
        <!--START: ccItem-->  
            [ccLastDigits]  
            [ccExpiration]  
            [strCustomerPaymentProfileId]  
            [account_view-details]  
        <!--END: ccItem-->  
    <!--END: authNetCIM-->  
    [account_addressbook]  
    [account_addressbook-header-alias]  
    [account_addressbook-header-details]  
    <!--START: address_book-->  
        [address_alias]  
        [shipping_address]  
        [shipping_city]  
        [shipping_state]  
    <!--END: address_book-->  
    <!--START: CRM-->  
        [account_crm-requests]  
        [account_crm-add-request]  
        [account_crm-requests-header-id]  
        [account_crm-requests-header-dept]  
        [account_crm-requests-header-subject]  
        [account_crm-requests-header-lastact]  
        <!--START: crmMessagesDetailNoReq-->  
            [account_crm-requests-norequest]  
        <!--END: crmMessagesDetailNoReq-->  
        <!--START: crmMessagesDetail-->  
            [dpt]  
            [date]  
            [subject]  
            [lastaction]  
        <!--END: crmMessagesDetail-->  
    <!--END: CRM-->  
    <!--START: RMA-->  
        [account_rma-header]  
        [rma_header-rmanum]  
        [rma_header-rmadate]  
        [rma_header-rmaorder]  
        [rma_header-rmastatus]  
        <!--START: RmaItems-->  
            [OrderId]  
            [idRma]  
            [Date]  
            [OrderNum]  
            [RMAStatus]  
        <!--END: RmaItems-->  
    <!--END: RMA-->  
    <!--START: affiliateStatistics-->  
        [account_affiliate-statistics]  
        [account_view-details]  
        [affiliate_summary-header-membersince]  
        [affiliate_summary-header-orders]  
        [affiliate_summary-header-amount]  
        [affiliate_summary-header-commission]  
        [affiliate_summary-header-paid]  
        [affiliate_summary-header-balance]  
        <!--START: affiliateStatisticsNoOrders-->  
            [affiliate_no-history-to-display]  
        <!--END: affiliateStatisticsNoOrders-->  
        <!--START: affiliateStatisticsDetail-->  
            [memberSince]  
            [orders]  
            [amount]  
            [totalCommission]  
            [paid]  
            [balance]  
        <!--END: affiliateStatisticsDetail-->  
    <!--END: affiliateStatistics-->  
    <!--START: giftRegistry-->  
        [account_giftRegistry]  
        [giftregistry_header-name]  
        [giftregistry_header-eventdate]  
        [giftregistry_header-expiration]  
        [giftregistry_header-productsdesired]  
        [giftregistry_header-productspurchased]  
        [regName]  
        [account_view-details]  
        [regEvent]  
        [regExpiration]  
        [regProductsDesired]  
        [regProductsPurchased]  
    <!--END: giftRegistry-->  
    <!--START: points-->  
        [account_rewards]  
        [account_view-details]  
        [account_rewards-header-points]  
        [points_balance]  
    <!--END: points-->  
    <!--START: wishList-->  
        [account_wishlist]  
        [account_view-details]  
        [account_wishlist-header-products]  
        [wishListTotalItems]  
        [account_wishlist-header-lastmod]  
        [wishListLasMod]  
    <!--END: wishList-->  
    <!--START: reminders-->  
        [account_reminders]  
        [account_view-details]  
        [account_reminders-header-reminders]  
        [total_reminders]  
    <!--END: reminders-->  
    <!--START: giftcertificates-->  
        [account_gift-certificate]  
        [account_gift-certificate-total-purchased]  
        [total_gc]  
        [account_gift-certificate-total-amount]  
        [total_gcamount]  
        [account_view-details]  
        [account_gift-certificate-check-balance]  
        [registration_verification]  
        [now]  
        [registration_verification_message]  
        [account_gift-certificate-check-balance-go]  
    <!--END: giftcertificates-->  
    <!--START: collect_shipping_accounts-->  
        <!--START: collect_shipping_accounts_detail-->  
            [id]  
            [carrier]  
            [account]  
        <!--END: collect_shipping_accounts_detail-->  
    <!--END: collect_shipping_accounts-->

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

Note: Several of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance.

  • [account_header-myaccount] - Displays the Title of the My Account Page. (See Settings ->Design ->Store Language)
  • [account_welcome] - Displays the Welcome message of the My Account Page. (See Settings ->Design ->Store Language)
  • [username] - Inserts the Customer's username (first and last name) into the Welcome Message
  • [account_billing-info] - Displays the Title of the Account's Billing Information section. (See Settings ->Design ->Store Language)
  • [billing_firstname] - Inserts the customer record's billing first name.
  • [billing_lastname] - Inserts the customer record's billing last name
  • [billing_address] - Inserts the customer record's billing main address
  • [billing_address2] - Inserts the customer record's billing Suite or Apt #
  • [billing_city] - Inserts the customer record's billing city
  • [billing_state] - Inserts the customer record's billing state or province
  • [billing_zip] - Inserts the customer record's billing postal code
  • [billing_country] - Inserts the customer record's billing country
  • [billing_phone] - Inserts the customer record's billing phone number
  • [account_shipping-info] - Displays the Title of the Account's Shipping Information section. (See Settings ->Design ->Store Language)
  • [shipping_firstname] - Inserts the customer record's shipping first name
  • [shipping_lastname] - Inserts the customer record's shipping last name
  • [shipping_address] - Inserts the customer record's shipping main address
  • [shipping_address2] - Inserts the customer record's shipping Suite or Apt #
  • [shipping_city] - Inserts the customer record's shipping city
  • [shipping_state] - Inserts the customer record's shipping state or province
  • [shipping_zip] - Inserts the customer record's shipping postal code
  • [shipping_country] - Inserts the customer record's shipping country
  • [shipping_phone] - Inserts the customer record's shipping phone
  • [addressTypeText] - Inserts the customer record's shipping address type. (Residential or Commercial)
  • [account_recent-orders] - Displays the Title of the Account's Recent Order History section. (See Settings ->Design ->Store Language)
  • [orderhistory_date] - Displays the Title of the Recent Order History section's Date Section. (See Settings ->Design ->Store Language)
  • [orderhistory_ordernum] - Displays the Title of the Recent Order History section's Order # Section. (See Settings ->Design ->Store Language)
  • [orderhistory_amount] - Displays the Title of the Recent Order History section's Amount Section. (See Settings ->Design ->Store Language)
  • [orderhistory_status] - Displays the Title of the Recent Order History section's Status Section. (See Settings ->Design ->Store Language)
  • [odate] - Inserts the order date(s) in the Recent Order History section.
  • [invoicenum_prefix] - Inserts the order invoice prefix in the Recent Order History section.
  • [invoicenum] - Inserts the order invoice number in the Recent Order History section.
  • [account_view-details] - Inserts a link to the respective order for review.
  • [orderamount] - Inserts the order amount in the Recent Order History section.
  • [orderstatus] - Inserts the order status in the Recent Order History section.
  • [orderhistory_savedcarts-header] - Displays the Title of the account's Saved Carts section. (See Settings ->Design ->Store Language)
  • [orderhistory_savedcarts-current] - Displays a link that allows the shopper to save their current cart. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [orderhistory_savedcarts-delete] - Displays a link that allows the shopper to delete their current cart. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [orderhistory_savedcarts-continue] - Displays a link that allows the shopper to continue their current cart. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [recurringorders_recurringorders-header] - If Shift4Shop's Autoship Add-on is purchased, this variable displays the Title of the account's Recurring Orders section. (See Settings ->Design ->Store Language)
  • [account_addressbook] - Displays the Title of the account's Address Book section. (See Settings ->Design ->Store Language)
  • [account_addressbook-header-alias] - Displays the Title of the Address Book's Alias section. (See Settings ->Design ->Store Language)
  • [account_addressbook-header-details] - Displays the Title of the Address Book's Details section. (See Settings ->Design ->Store Language)
  • [address_alias] - Inserts the Alias(es) of the customer's Address Book addresses.
  • [account_crm-requests] - Displays the Title of the account's My Last Requestc (CRM) section. (See Settings ->Design ->Store Language)
  • [account_crm-add-request] - Displays a link that allows the shopper to submit a new CRM request. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [account_crm-requests-header-id] - Displays the Title of the CRM "Id" section. (See Settings ->Design ->Store Language)
  • [account_crm-requests-header-dept] - Displays the Title of the CRM Dept section. (See Settings ->Design ->Store Language)
  • [account_crm-requests-header-date] - Displays the Title of the CRM Date section. (See Settings ->Design ->Store Language)
  • [account_crm-requests-header-subject] - Displays the Title of the CRM Subject section. (See Settings ->Design ->Store Language)
  • [account_crm-requests-header-lastact] - Displays the Title of the CRM Last Action section. (See Settings ->Design ->Store Language)
  • [account_crm-requests-norequest] - If the customer record has no CRM requests, this variable will insert wording on the page to indicate that no CRM requests are present. (See Settings ->Design ->Store Language)
  • [crmId] - Inserts the CRM ID number(s)
  • [dpt] - Inserts the CRM Department information
  • [date] - Inserts the CRM Dates
  • [subject] - Inserts the CRM subjects
  • [lastaction] - Inserts who handled the latest action on the CRM ticket.
  • [account_rma-header] - Displays the Title of the account's RMA section. (See Settings ->Design ->Store Language)
  • [rma_header-rmanum] - Displays the Title of the RMA section's "RMA#" Column. (See Settings ->Design ->Store Language)
  • [rma_header-rmadate] - Displays the Title of the RMA section's Date Column. (See Settings ->Design ->Store Language)
  • [rma_header-rmaorder] - Displays the Title of the RMA section's Order # Column. (See Settings ->Design ->Store Language)
  • [rma_header-rmastatus] - Displays the Title of the RMA section's Status Column. (See Settings ->Design ->Store Language)
  • [idRma] - Inserts the ID number(s) of the RMA(s)
  • [Date] - Inserts the Date(s) of the RMA(s)
  • [OrderNum] - Inserts the Order number(s) of the RMA(s)
  • [RMAStatus] - Inserts the Status(es) of the RMA(s)
  • [account_affiliate-statistics] - Displays the Title of the Account's Affiliate section. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-membersince] - Displays the Title of the Affiliate section's "Member Since" Column. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-orders] - Displays the Title of the Affiliate section's Orders Column. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-amount] - Displays the Title of the Affiliate section's Amount Column. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-commission] - Displays the Title of the Affiliate section's Commission Column. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-paid] - Displays the Title of the Affiliate section's Paid Column. (See Settings ->Design ->Store Language)
  • [affiliate_summary-header-balance] - Displays the Title of the Affiliate section's Balance Column. (See Settings ->Design ->Store Language)
  • [affiliate_no-history-to-display] - If the customer record is not an affiliate, this variable will insert wording on the page to indicate that no affiliate history is present. (See Settings ->Design ->Store Language)
  • [memberSince] - Inserts the Customer Record's Affiliate activation Date.
  • [orders] - Inserts the number of Orders credited to the Affiliate Record.
  • [amount] - Inserts the sub-total of orders credited to the Affiliate Record.
  • [totalCommission] - Inserts the total commission due to the Affiliate Record
  • [paid] - Inserts the total commision paid to the Affiliate record.
  • [balance] - Inserts the Balance left on the Affiliate Record's payout.
  • [account_giftRegistry] - Displays the Title of the Account's Gift Registry section. (See Settings ->Design ->Store Language)
  • [giftregistry_header-name] - Displays the Title of the Gift Registry section's "Name" Column. (See Settings ->Design ->Store Language)
  • [giftregistry_header-eventdate] - Displays the Title of the Gift Registry section's "Event" Column. (See Settings ->Design ->Store Language)
  • [giftregistry_header-expiration] - Displays the Title of the Gift Registry section's "Expiration" Column. (See Settings ->Design ->Store Language)
  • [giftregistry_header-productsdesired] - Displays the Title of the Gift Registry section's "Products Listed" Column. (See Settings ->Design ->Store Language)
  • [giftregistry_header-productspurchased] - Displays the Title of the Gift Registry section's "Products Purchased" Column. (See Settings ->Design ->Store Language)
  • [regName] - Inserts the Name of the customer registries
  • [regEvent] - Inserts the Date of the Registry event
  • [regExpiration] - Inserts the expiration date of the Registry Event
  • [regProductsDesired] - Inserts the number of products listed in the registry
  • [regProductsPurchased] - Inserts the number of Registry items already ordered.
  • [account_rewards] - Displays the Title of the Account's "My Rewards" section. (See Settings ->Design ->Store Language)
  • [account_rewards-header-points] - Displays the Title of the Rewards section's "Total Points" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [points_balance] - Inserts the customer's accrued reward points.
  • [account_wishlist] - Displays the Title of the Account's "Wish List" section. (See Settings ->Design ->Store Language)
  • [account_wishlist-header-products] - Displays the Title of the Wish List section's "Products" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [wishListTotalItems] - Inserts the number of items in the customer record's wish list.
  • [account_wishlist-header-lastmod] - Displays the Title of the Wish List section's "Last Update" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [wishListLasMod] - Inserts the most recent Wish List modification date
  • [account_reminders] - If Shift4Shop's Automatic Reorder Reminders Add-on is purchased, this variable displays the Title of the account's Reminders section. (See Settings ->Design ->Store Language)
  • [account_reminders-header-reminders] - Displays the Title of the Reminders section's "Total Reminders" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [total_reminders] - Inserts the number of Reminders that the customer record is signed up for.
  • [account_gift-certificate] - Displays the Title of the account's "Gift Certificate" section.
  • [account_gift-certificate-total-purchased] - Displays the Title of the Gift Certificate section's "Total Purchased" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [total_gc] - Inserts the number of Gift Certificates purchased on the customer record.
  • [account_gift-certificate-total-amount] - Displays the Title of the Gift Certificate section's "Total Amount" label. Wording can be changed in Store Language. (See Settings ->Design ->Store Language)
  • [total_gcamount] - Inserts the Value/Amount of purchased Gift Certificates.
  • [account_gift-certificate-check-balance] - Displays the Title of the "Check Gift Certificate Balance" section. (See Settings ->Design ->Store Language)
  • [registration_verification] - Displays the Title of the CAPTCHA "Verification" label. (See Settings ->Design ->Store Language)
  • [registration_verification_message] - Inserts the instruction message for the verification's CAPTCHA section. (See Settings ->Design ->Store Language)
  • [account_gift-certificate-check-balance-go] - Displays the Title of the Gift Certificate Verification "GO" button. (See Settings ->Design ->Store Language)

These next few Variables will be autopoulated by the Shift4Shop software. Typically you'll want to keep the scripting for these variables intact.

  • [orderid] -
  • [orderkey] -
  • [account_my-saved-creditcards] -
  • [checkout3_creditcard-last-digits] -
  • [CustomerInfo_creditexpiration] -
  • [ccLastDigits] -
  • [ccExpiration] -
  • [strCustomerPaymentProfileId] -
  • [mkey] -
  • [OrderId] -
  • [now] -
  • [id] -
  • [carrier] -
  • [account] -

Download this Template     (Save as a backup or edit to customize)

Screenshot of the myaccount.html Template