This site is automated with JetFlow.io plugin and protected with WP Cerber security plugin

Newsletter Subscription

If you want to subscribe to our monthly newsletter, please submit the form below.

 

WooCommerce fields and patterns

jetFlow.io > Documentation  > Variables and patterns  > WooCommerce fields and patterns

WooCommerce fields and patterns

If a workflow starts with WooCommerce trigger, order and payment fields become available in the workflow via following patterns.

PatternSample value
{TRIGGER[order_type]}simple
{TRIGGER[id]}1071
{TRIGGER[post][ID]}1071
{TRIGGER[post][post_author]}1
{TRIGGER[post][post_date]}2016-10-18 13:50:37
{TRIGGER[post][post_date_gmt]}2016-10-18 10:50:37
{TRIGGER[post][post_content]}
{TRIGGER[post][post_title]}Order – October 18, 2016 @ 01:50 PM
{TRIGGER[post][post_excerpt]}
{TRIGGER[post][post_status]}wc-pending
{TRIGGER[post][comment_status]}open
{TRIGGER[post][ping_status]}closed
{TRIGGER[post][post_password]}order_5805fe7d732ec
{TRIGGER[post][post_name]}order-oct-18-2016-1050-am-2
{TRIGGER[post][to_ping]}
{TRIGGER[post][pinged]}
{TRIGGER[post][post_modified]}2016-10-18 13:50:37
{TRIGGER[post][post_modified_gmt]}2016-10-18 10:50:37
{TRIGGER[post][post_content_filtered]}
{TRIGGER[post][post_parent]}0
{TRIGGER[post][guid]}http://jetflow.io/?post_type=shop_order&p=1071
{TRIGGER[post][menu_order]}0
{TRIGGER[post][post_type]}shop_order
{TRIGGER[post][post_mime_type]}
{TRIGGER[post][comment_count]}0
{TRIGGER[post][filter]}raw
{TRIGGER[order_date]}2016-10-18 13:50:37
{TRIGGER[modified_date]}2016-10-18 13:50:37
{TRIGGER[customer_message]}
{TRIGGER[customer_note]}
{TRIGGER[post_status]}wc-pending
{TRIGGER[prices_include_tax]}
{TRIGGER[tax_display_cart]}excl
{TRIGGER[display_totals_ex_tax]}1
{TRIGGER[display_cart_ex_tax]}1
{TRIGGER[customer][data][ID]}9
{TRIGGER[customer][data][user_login]}elon
{TRIGGER[customer][data][user_pass]}
{TRIGGER[customer][data][user_nicename]}elon
{TRIGGER[customer][data][user_email]}elonelonnewyork@gmail.com
{TRIGGER[customer][data][user_url]}http://jetflow.io
{TRIGGER[customer][data][user_registered]}2016-10-18 10:36:00
{TRIGGER[customer][data][user_activation_key]}1476786962:$P$B27owWc2tHXMe9c45P2AaXp8fLi5O1/
{TRIGGER[customer][data][user_status]}0
{TRIGGER[customer][data][display_name]}Elon Blakey
{TRIGGER[customer][ID]}9
{TRIGGER[customer][caps][customer]}1
{TRIGGER[customer][cap_key]}fb_capabilities
{TRIGGER[customer][roles][0]}customer
{TRIGGER[customer][allcaps][read]}1
{TRIGGER[customer][allcaps][edit_posts]}
{TRIGGER[customer][allcaps][delete_posts]}
{TRIGGER[customer][allcaps][customer]}1
{TRIGGER[customer][filter]}
{TRIGGER[customer][meta][nickname][0]}elon
{TRIGGER[customer][meta][first_name][0]}Elon
{TRIGGER[customer][meta][last_name][0]}Blakey
{TRIGGER[customer][meta][description][0]}I'v created a lot of workflows for my WordPress powered site. I love to automate
{TRIGGER[customer][meta][rich_editing][0]}true
{TRIGGER[customer][meta][comment_shortcuts][0]}false
{TRIGGER[customer][meta][admin_color][0]}fresh
{TRIGGER[customer][meta][use_ssl][0]}0
{TRIGGER[customer][meta][show_admin_bar_front][0]}true
{TRIGGER[customer][meta][fb_user_level][0]}0
{TRIGGER[customer][meta][dismissed_wp_pointers][0]}
{TRIGGER[customer][meta][billing_first_name][0]}Elon
{TRIGGER[customer][meta][billing_last_name][0]}Blakey
{TRIGGER[customer][meta][billing_company][0]}
{TRIGGER[customer][meta][billing_address_1][0]}Mango st. 67456
{TRIGGER[customer][meta][billing_address_2][0]}
{TRIGGER[customer][meta][billing_city][0]}Miami
{TRIGGER[customer][meta][billing_postcode][0]}12345
{TRIGGER[customer][meta][billing_country][0]}US
{TRIGGER[customer][meta][billing_state][0]}FL
{TRIGGER[customer][meta][billing_phone][0]}1234567890
{TRIGGER[customer][meta][billing_email][0]}elonelonnewyork@gmail.com
{TRIGGER[customer][meta][shipping_first_name][0]}Elon
{TRIGGER[customer][meta][shipping_last_name][0]}Blakey
{TRIGGER[customer][meta][shipping_company][0]}
{TRIGGER[customer][meta][shipping_address_1][0]}Mango st. 67456
{TRIGGER[customer][meta][shipping_address_2][0]}
{TRIGGER[customer][meta][shipping_city][0]}Miami
{TRIGGER[customer][meta][shipping_postcode][0]}12345
{TRIGGER[customer][meta][shipping_country][0]}US
{TRIGGER[customer][meta][shipping_state][0]}FL
{TRIGGER[customer][meta][last_update][0]}1476787807
{TRIGGER[customer][nickname]}elon
{TRIGGER[customer][first_name]}Elon
{TRIGGER[customer][last_name]}Blakey
{TRIGGER[customer][description]}I'v created a lot of workflows for my WordPress powered site. I love to automate
{TRIGGER[customer][user_login]}elon
{TRIGGER[customer][user_pass]}
{TRIGGER[customer][user_nicename]}elon
{TRIGGER[customer][user_email]}elonelonnewyork@gmail.com
{TRIGGER[customer][user_url]}http://jetflow.io
{TRIGGER[customer][user_registered]}2016-10-18 10:36:00
{TRIGGER[customer][user_activation_key]}1476786962:$P$B27owWc2tHXMe9c45P2AaXp8fLi5O1/
{TRIGGER[customer][user_status]}0
{TRIGGER[customer][display_name]}Elon Blakey
{TRIGGER[view_link]}http://jetflow.io/account/view-order/1071
{TRIGGER[edit_link]}http://jetflow.io/wp-admin/post.php?post=1071&action=edit
{TRIGGER[total]}35455
{TRIGGER[gateway]}yandex_money
{TRIGGER[items][0][name]}How to automate WordPress easily
{TRIGGER[items][0][type]}line_item
{TRIGGER[items][0][item_meta][_qty][0]}1
{TRIGGER[items][0][item_meta][_tax_class][0]}
{TRIGGER[items][0][item_meta][_product_id][0]}1067
{TRIGGER[items][0][item_meta][_variation_id][0]}0
{TRIGGER[items][0][item_meta][_line_subtotal][0]}455
{TRIGGER[items][0][item_meta][_line_total][0]}455
{TRIGGER[items][0][item_meta][_line_subtotal_tax][0]}0
{TRIGGER[items][0][item_meta][_line_tax][0]}0
{TRIGGER[items][0][item_meta_array][2008][key]}_qty
{TRIGGER[items][0][item_meta_array][2008][value]}1
{TRIGGER[items][0][item_meta_array][2009][key]}_tax_class
{TRIGGER[items][0][item_meta_array][2009][value]}
{TRIGGER[items][0][item_meta_array][2010][key]}_product_id
{TRIGGER[items][0][item_meta_array][2010][value]}1067
{TRIGGER[items][0][item_meta_array][2011][key]}_variation_id
{TRIGGER[items][0][item_meta_array][2011][value]}0
{TRIGGER[items][0][item_meta_array][2012][key]}_line_subtotal
{TRIGGER[items][0][item_meta_array][2012][value]}455
{TRIGGER[items][0][item_meta_array][2013][key]}_line_total
{TRIGGER[items][0][item_meta_array][2013][value]}455
{TRIGGER[items][0][item_meta_array][2014][key]}_line_subtotal_tax
{TRIGGER[items][0][item_meta_array][2014][value]}0
{TRIGGER[items][0][item_meta_array][2015][key]}_line_tax
{TRIGGER[items][0][item_meta_array][2015][value]}0
{TRIGGER[items][0][item_meta_array][2016][key]}_line_tax_data
{TRIGGER[items][0][qty]}1
{TRIGGER[items][0][tax_class]}
{TRIGGER[items][0][product_id]}1067
{TRIGGER[items][0][variation_id]}0
{TRIGGER[items][0][line_subtotal]}455
{TRIGGER[items][0][line_total]}455
{TRIGGER[items][0][line_subtotal_tax]}0
{TRIGGER[items][0][line_tax]}0
{TRIGGER[items][1][name]}Jetty Model 3
{TRIGGER[items][1][type]}line_item
{TRIGGER[items][1][item_meta][_qty][0]}1
{TRIGGER[items][1][item_meta][_tax_class][0]}
{TRIGGER[items][1][item_meta][_product_id][0]}1068
{TRIGGER[items][1][item_meta][_variation_id][0]}0
{TRIGGER[items][1][item_meta][_line_subtotal][0]}35000
{TRIGGER[items][1][item_meta][_line_total][0]}35000
{TRIGGER[items][1][item_meta][_line_subtotal_tax][0]}0
{TRIGGER[items][1][item_meta][_line_tax][0]}0
{TRIGGER[items][1][item_meta_array][2017][key]}_qty
{TRIGGER[items][1][item_meta_array][2017][value]}1
{TRIGGER[items][1][item_meta_array][2018][key]}_tax_class
{TRIGGER[items][1][item_meta_array][2018][value]}
{TRIGGER[items][1][item_meta_array][2019][key]}_product_id
{TRIGGER[items][1][item_meta_array][2019][value]}1068
{TRIGGER[items][1][item_meta_array][2020][key]}_variation_id
{TRIGGER[items][1][item_meta_array][2020][value]}0
{TRIGGER[items][1][item_meta_array][2021][key]}_line_subtotal
{TRIGGER[items][1][item_meta_array][2021][value]}35000
{TRIGGER[items][1][item_meta_array][2022][key]}_line_total
{TRIGGER[items][1][item_meta_array][2022][value]}35000
{TRIGGER[items][1][item_meta_array][2023][key]}_line_subtotal_tax
{TRIGGER[items][1][item_meta_array][2023][value]}0
{TRIGGER[items][1][item_meta_array][2024][key]}_line_tax
{TRIGGER[items][1][item_meta_array][2024][value]}0
{TRIGGER[items][1][item_meta_array][2025][key]}_line_tax_data
{TRIGGER[items][1][qty]}1
{TRIGGER[items][1][tax_class]}
{TRIGGER[items][1][product_id]}1068
{TRIGGER[items][1][variation_id]}0
{TRIGGER[items][1][line_subtotal]}35000
{TRIGGER[items][1][line_total]}35000
{TRIGGER[items][1][line_subtotal_tax]}0
{TRIGGER[items][1][line_tax]}0
No Comments

Sorry, the comment form is closed at this time.