1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
window.mp.addToCart({
products: [{"name":"CLT","sku":"12788-1952203863","price":"111.49","quantity":4,"variant":"","category":"tires","brand_name":"Advanta","position":1,"coupon":"","custom_attributes":{"is_sidewall":"Outlined Black Letters","tread_type":null,"diameter":"16","load_index":"120","speed_rating":"Q","is_deal":false}}],
transaction_attrs: {},
custom_attrs: {
is_add_on: false
}
})
$store.analytics.sendDataToKlavio({
quantity: totalQuantity(),
product_data: {"id":21,"price":"111.49","is_package":null,"ply_name":"10 Ply (E)","properties":{"size":{"title":"Size","value":"LT235/85R16 E 120/116Q"},"sidewall":{"title":"Sidewall","value":"Outlined Black Letters"},"speed_rating":{"title":"Speed Rating","value":"Q"},"load_index":{"title":"Load Index","value":"120"},"diameter":{"title":"Diameter","value":"16"}},"specification":{"speed_rating":{"key":"SpeedRating","title":"Speed Rating","tooltip_title":"The maximum speed capability of the tire on a vehicle.","value":"Q","format":{}},"load_index":{"key":"LoadIndexSingle","title":"Load Index","tooltip_title":"The maximum load (weight) rating capacity of a tire.","value":"120","format":{}},"sidewall":{"key":"Sidewall","title":"Sidewall","tooltip_title":"The appearance of the side of a tire.","value":"Outlined Black Letters","format":{}},"size_desc":{"key":"Size","title":"Size","value":"LT235/85R16 E 120/116Q","format":{}},"max_load":{"key":"SingleMaxLoad","title":"Max. Load","format":{},"value":"3042 lbs"},"max_inflation_pressure":{"key":"SingleMaxPSI","title":"Max. Inflation Pressure","format":{},"value":"80 psi"},"tread_depth":{"key":"TreadDepth","title":"Tread Depth","format":{},"value":"14.0/32\""},"width":{"key":"SectionWidth","title":"Sect. Width","format":{},"value":"9.3\""},"diamter":{"key":"Diameter","title":"Overall Diameter","format":{},"value":"31.70\""}},"features":[],"description":[],"warranties":[],"additional_benefits":[],"url":"/products/advanta-lt235-85r16-e-1952203863-tires","image_url":"https://s3.amazonaws.com/tireagent-static-assets/default_tire.png","brand_name":"Advanta","model_name":"CLT","affiliate_domain":"","order_value":"0.00","size_desc":"LT235/85R16 E 120/116Q","sku":"12788-1952203863","rebate":null,"feature":null,"category":"tires","count_on_hand":0,"stock_status":"out_of_stock","name":"Advanta - CLT - 1952203863"},
...{"orderTotal":"0.00","lineItems":null}
})
$store.analytics.gtag({
eventType: 'add_to_cart',
quantity: { front: front.quantity },
products: [{"id":21,"price":"111.49","is_package":null,"ply_name":"10 Ply (E)","properties":{"size":{"title":"Size","value":"LT235/85R16 E 120/116Q"},"sidewall":{"title":"Sidewall","value":"Outlined Black Letters"},"speed_rating":{"title":"Speed Rating","value":"Q"},"load_index":{"title":"Load Index","value":"120"},"diameter":{"title":"Diameter","value":"16"}},"specification":{"speed_rating":{"key":"SpeedRating","title":"Speed Rating","tooltip_title":"The maximum speed capability of the tire on a vehicle.","value":"Q","format":{}},"load_index":{"key":"LoadIndexSingle","title":"Load Index","tooltip_title":"The maximum load (weight) rating capacity of a tire.","value":"120","format":{}},"sidewall":{"key":"Sidewall","title":"Sidewall","tooltip_title":"The appearance of the side of a tire.","value":"Outlined Black Letters","format":{}},"size_desc":{"key":"Size","title":"Size","value":"LT235/85R16 E 120/116Q","format":{}},"max_load":{"key":"SingleMaxLoad","title":"Max. Load","format":{},"value":"3042 lbs"},"max_inflation_pressure":{"key":"SingleMaxPSI","title":"Max. Inflation Pressure","format":{},"value":"80 psi"},"tread_depth":{"key":"TreadDepth","title":"Tread Depth","format":{},"value":"14.0/32\""},"width":{"key":"SectionWidth","title":"Sect. Width","format":{},"value":"9.3\""},"diamter":{"key":"Diameter","title":"Overall Diameter","format":{},"value":"31.70\""}},"features":[],"description":[],"warranties":[],"additional_benefits":[],"url":"/products/advanta-lt235-85r16-e-1952203863-tires","image_url":"https://s3.amazonaws.com/tireagent-static-assets/default_tire.png","brand_name":"Advanta","model_name":"CLT","affiliate_domain":"","order_value":"0.00","size_desc":"LT235/85R16 E 120/116Q","sku":"12788-1952203863","rebate":null,"feature":null,"category":"tires","count_on_hand":0,"stock_status":"out_of_stock","name":"Advanta - CLT - 1952203863"}],
})
$store.add_to_cart.disabled = true
$store.cart.actions.createLineItem([{ variant_id: 21, quantity: front.quantity, type: 'tire' }])
}">
Out Of Stock