Short Codes X
ORDER DETAILS:
[woo_mb_items] – To Get Items
[woo_mb_order_id] – To Get Order ID
[woo_mb_order_number] – To Get Order number
[woo_mb_order_link] – To Get Order URL: Takes url from settings
[woo_mb_order_sub_total] – To Get Order Sub-Total
[woo_mb_order_total] – To Get Order Total
[woo_mb_order_fee] – To Get Order Fee
[woo_mb_order_refund] – To Get Order Refunds
[woo_mb_order_date] – To Get Order Date
PAYMENT:
[woo_mb_order_payment_method] – To Get Payment Method
[woo_mb_payment_method] – To Get Payment Method
[woo_mb_order_payment_url] – To Get Payment URL
[woo_mb_order_payment_url_string] – To get payment url in string for using in href
[woo_mb_transaction_id] – To Get Transaction ID
SHIPPING:
[woo_mb_shipping_method] – To Get Shipping Method
[woo_mb_order_shipping] – To get Shipping Total
[woo_mb_shipping_first_name] – To Get Shipping First Name
[woo_mb_shipping_last_name] – To Get Shipping Last Name
[woo_mb_shipping_company] – To Get Shipping Company
[woo_mb_shipping_address] – To Get Shipping Address
[woo_mb_shipping_address_1] – To Get Shipping Address 1
[woo_mb_shipping_address_2] – To Get Shipping Address 2
[woo_mb_shipping_city] – To Get Shipping City
[woo_mb_shipping_state] – To Get Shipping State
[woo_mb_shipping_postcode] – To Get Shipping Postal Code
[woo_mb_shipping_country] – To Get Shipping Country
BILLING:
[woo_mb_billing_address] – To Get Billing Address
[woo_mb_billing_first_name] – To Get First Name
[woo_mb_billing_last_name] – To Get Last Name
[woo_mb_billing_company] – To Get Billing Company
[woo_mb_billing_address_1] – To Get Billing Address 1
[woo_mb_billing_address_2] – To Get Billing Address 2
[woo_mb_billing_city] – To Get Billing City
[woo_mb_billing_state] – To Get Billing State
[woo_mb_billing_postcode] – To Get Billing PostalTo Get User’s Email Code
[woo_mb_billing_country] – To Get Billing Country
[woo_mb_billing_phone] – To Get Billing Phone
[woo_mb_billing_email] – To Get Billing Email
GENERAL:
[woo_mb_site_name] – To get Site Name
[woo_mb_site_url] – To Get Site URL
[woo_mb_user_id] – To Get User Id
[woo_mb_user_name] – To Get User’s Name
[woo_mb_user_email] – To Get User’s Email
[woo_mb_customer_provided_note] – To Get Customer provided note
[woo_mb_customer_note] – To Get Customer last note
[woo_mb_customer_notes] – To Get all Customer Notes
RESET PASSWORD:
[woo_mb_password_reset_url] – To get reset url
[woo_mb_password_reset_url_string] – To get reset url in string for using in href
NEW USER:
[woo_mb_user_password] – To get User Password
[woo_mb_user_activation_link] – To get activation url
CUSTOM CODE:
[woo_mb_custom_code] – Your custom code can be overridden by copying [woocommerce_email_cuztomizer_with_drag_and_drop_builder/templates/woo_mail/custom_code.php] to [yourtheme/woocommerce_email_cuztomizer_with_drag_and_drop_builder/woo_mail/custom_code.php].
You can also add attributes if required Eg:[woo_mb_custom_code type=»pre-order-link»] RETAINFUL – NEXT ORDER COUPON:
[wec_next_order_coupon] – Next order coupon code
[wec_next_order_coupon_text] – Next order coupon code text to use in href
[wec_next_order_coupon_value] – Next order coupon code value
[woo_mb_site_url_link_with_coupon] – Site url with next order coupon code
WOOCOMMERCE EMAIL CONTENTS THROUGH HOOKS: SHORTCODES GET REPLACED ONLY IN ACTUAL EMAILS
[woo_mb_woocommerce_email_order_meta] – Contents which loads by the hook woocommerce_email_order_meta
[woo_mb_woocommerce_email_before_order_table] – Contents which loads by the hook woocommerce_email_before_order_table
ADDITIONAL ORDER META:
[woo_mb_order_meta-is_vat_exempt] – Loads value of order meta key – is_vat_exempt
[woo_mb_order_meta-arm_mapped_order_product_plans] – Loads value of order meta key – arm_mapped_order_product_plans
[woo_mb_order_meta-arm_woo_payment_selected_cycle] – Loads value of order meta key – arm_woo_payment_selected_cycle