Support » Plugin: Woo Custom Emails » all generic variables

  • All generic variables
    ↑ Back to top
    Variable code Variable description
    {item_names} The explicit name(s) of the purchased items the email was triggered for as a link back to the item
    {customer_username} Displays the username of your customer
    {customer_first_name} Displays the first name of your customer
    {customer_last_name} Displays the last name of your customer
    {customer_name} Displays the concatenated first and last name of your customer
    {customer_email} Displays your customer’s email address
    {order_number} Outputs the order number for the order
    {order_date} Outputs the date of the order
    {order_datetime} Outputs the date and time of the order
    {order_subtotal} Outputs the order total minus the tax and shipping amounts
    {order_tax} Outputs the tax amount of the order
    {order_pay_method} Outputs the payment gateway or payment method used
    {order_pay_url} URL for customer to pay their (unpaid – pending) order
    {order_billing_address} Outputs the billing address for the specified order
    {order_shipping_address} Outputs the shipping address for the specified order
    {coupon_code} Outputs the dynamically generated coupon code for the customer. * must be using the “after coupon used trigger“
    {coupon_code_used} Outputs the coupon code used by the customer for the order. * must be using the “after coupon used trigger“
    {coupon_amount} Outputs the value of the coupon generated/used. * must be using the “after coupon used trigger“
    {dollars_spent_order} Outputs the amount that the customer spent for the order
    {store_url} Outputs your store’s URL/web address without https
    {store_url_secure} Displays your store’s URL/web address with https
    {store_url=path} Displays a URL appended to your domain allowing for tracking of the link. For example, you can use {store_url=/my-account} to send your customer to their account page
    {store_name} Displays the name of your store
    {unsubscribe_url} Displays a dynamically generated URL that the customer can click to unsubscribe from emails
    {post_id=xx} Displays an excerpt of a selected blog post where “xx” = the post ID
    {download_url} Displays the URL to the downloadable file when available
    {download_filename} Displays the filename of the downloadable file that is available to the customer
    {order_billing_phone} Displays the billing phone number of the customer
    {order_shipping_phone} Displays the shipping phone number for the customer
    {webversion_url} Displays the raw URL to visit a webversion of the email – requires being wrapped in a custom link in the email body
    {webversion_link} Generates a direct link to the webversion of the email with the text “View in browser”

    is it possible to put these variables in email? Because only the displayed ones work…. i tried them but don work… maybe someone can help me..
    thank you and kind regards.

  • The topic ‘all generic variables’ is closed to new replies.