Custom events: tag
[fp_set name=”custom tags”]
^tag 1 str^ : ^some tag val^
^tag 2 bool^ : true
^tag 3 int^ : 62
[/fp_set]
[fp_track data=”custom tags” event=”tag” trigger=”load”]
[fp_set name=”custom tags”]
^tag 1 str^ : ^some tag val^
^tag 2 bool^ : true
^tag 3 int^ : 62
[/fp_set]
[fp_track data=”custom tags” event=”tag” trigger=”load”]
First product $29 $25 1 Cat 1, Cat 2 $59 2 Cat 1, Cat 3 Third product $119 Cat 2 3 Total: $500 [fp_set name=”products”] ^items^ : ^{{.products .product}}^ ^item name^ : ^{{.name|get:text}}^ ^item price^ : ^{{.price|limit:last|get:text|replace:$:|to:float}}^ ^item qty^ : ^{{.qty|get:text|to:integer}}^ ^item id^ : ^{{|get:data-id}}^ ^order id^ : fp.data.wp.page_id ^order value^ : ^{{#order_total strong|get:text|replace:$:|to:float}}^ ^currency^…
Featured product Hand picked products Best selling products in a container Newest products On-sale Top rated Products by category Products by tag Products by attribute
Third product $119 Cat 2 [fp_set name=”product”] ^item name^ : ^{{.name|get:text}}^ ^item price^ : ^{{.price|limit:last|get:text|replace:$:|to:float}}^ ^item category^ : ^{{.categories|get:text}}^ ^item id^ : ^{{.product|get:data-id}}^ ^item qty^ : ^{{input[type=number]|get:value|to:integer}}^ ^list name^ : ^product^ ^currency^ : ^USD^ ^ga send to^ : 1 ^ga interaction^ : false [/fp_set] [fp_track data=”product” event=”add to cart” trigger=”click” condition=”.fptest_addtocart” context=”.entry-content”]
Custom fields from ACF plugin
No products in the cart.