Exchange Email Settings: Shortcode functions

(Difference between revisions)
Jump to: navigation, search
(Created page with "This is a new page to fill up with great info. <br /> ← Back to Exchange Codex Home")
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
This is a new page to fill up with great info.
+
In the Email Settings, you are provided with shortcode functions to use in both your Admin Notifications and the Customer Receipt Emails. 
 +
 
 +
To add them to your emails, you'll use the following shortcode:  [it_exchange_email show=DataToDisplay]  After the "show=", you'll enter the name of the information you'd like to display, for example show=download_list will display the customer's list of download links.
 +
 
 +
'''Available Shortcode Options:'''
 +
 
 +
*download_list - A list of download links for each download purchased
 +
*name - The buyer's first name
 +
*fullname - The buyer's full name, first and last
 +
*username - The buyer's username on the site, if they registered an account
 +
*order_table - A table of the order details. Accepts "purchase_message" option (To show purchase message, use:  [it_exchange_email show=order_table option=purchase_message] )
 +
*purchase_date - The date of the purchase
 +
*total - The total price of the purchase
 +
*payment_id - The unique ID number for this purchase
 +
*receipt_id - The unique ID number for this transaction
 +
*payment_method - The method of payment used for this purchase
 +
*sitename - Your site name
 +
*receipt_link - Adds a link so users can view their receipt directly on your website if they are unable to view it in the email correctly.
 +
 
 +
<br />
 +
 
 +
So, for an example, if you set up your Customer Receipt Email like this:
 +
 
 +
<br />
 +
 
 +
[[File:AdminNotificationExample.png|AdminNotificationExample.png|link=]]
 +
 
 +
<br />
 +
 
 +
This is what the email they receive will look like:
 +
 
 +
<br />
 +
 
 +
[[File:CustomerReceiptExample.png|CustomerReceiptExample.png|link=]]
 +
 
 +
<br />
 +
 
 +
__NOTOC__
 +
==See Also==
 +
 
 +
*[[:Exchange_General_Settings|General]]
 +
**[[:Exchange_General_Settings:_Company_Details|Company Details]]
 +
**[[:Exchange_General_Settings:_Currency_Settings|Currency Settings]]
 +
**[[:Exchange_General_Settings:_Customer_Registration_Settings|Customer Registration Settings]]
 +
**[[:Exchange_General_Settings:_Stylesheet_Settings|Stylesheet Settings]]
 +
**[[:Exchange_General_Settings:_Product_Gallery|Product Gallery]]
 +
**[[:Exchange_General_Settings:_Customer_Message|Customer Message]]
 +
*[[:Exchange_Email_Settings|Email Settings]]
 +
**[[:Exchange_Email_Settings:_Admin_Notifications|Admin Notifications]]
 +
**[[:Exchange_Email_Settings:_Customer_Receipt_Emails|Customer Receipt Emails]]
 +
**[[:Exchange_Email_Settings:_Shortcode_functions|Shortcode functions]]
 +
*[[:Exchange_Pages_Settings|Pages]]
 +
 
 +
==Quick Links==__NOEDITSECTION__
 +
 
 +
====Resources====__NOEDITSECTION__
 +
*'''[http://ithemes.com/tutorial/category/ithemes-exchange/ Tutorials]''' - Short video tutorials to help you become an Exchange expert.
 +
====Support====__NOEDITSECTION__
 +
*'''[http://ithemes.com/forum/forum/207-exchange-ecommerce-plugin/ Get Basic Help]''' - Get free help on some basics of Exchange.
 +
*'''[http://ithemes.com/member/signup.php?price_group=250&product_id=315 Get Premium Support]''' - Get premium and priority support for Exchange.
 +
====Report & Request====__NOEDITSECTION__
 +
*'''[http://ithemes.com/exchange/bugs/ Report a Bug or Problem]''' - Help us fix an issue that you have found in Exchange
 +
*'''[http://ithemes.com/exchange/feature-request/ Request a Feature]''' - Help us improve Exchange for everyone
  
 
<br />
 
<br />
 
[[:Exchange|← Back to Exchange Codex Home]]
 
[[:Exchange|← Back to Exchange Codex Home]]

Revision as of 16:21, November 15, 2013

In the Email Settings, you are provided with shortcode functions to use in both your Admin Notifications and the Customer Receipt Emails.

To add them to your emails, you'll use the following shortcode: [it_exchange_email show=DataToDisplay] After the "show=", you'll enter the name of the information you'd like to display, for example show=download_list will display the customer's list of download links.

Available Shortcode Options:

  • download_list - A list of download links for each download purchased
  • name - The buyer's first name
  • fullname - The buyer's full name, first and last
  • username - The buyer's username on the site, if they registered an account
  • order_table - A table of the order details. Accepts "purchase_message" option (To show purchase message, use: [it_exchange_email show=order_table option=purchase_message] )
  • purchase_date - The date of the purchase
  • total - The total price of the purchase
  • payment_id - The unique ID number for this purchase
  • receipt_id - The unique ID number for this transaction
  • payment_method - The method of payment used for this purchase
  • sitename - Your site name
  • receipt_link - Adds a link so users can view their receipt directly on your website if they are unable to view it in the email correctly.


So, for an example, if you set up your Customer Receipt Email like this:


AdminNotificationExample.png


This is what the email they receive will look like:


CustomerReceiptExample.png



See Also

Quick Links

Resources

  • Tutorials - Short video tutorials to help you become an Exchange expert.

Support

Report & Request


← Back to Exchange Codex Home

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox