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":"Desperado (P Metric)","sku":"9952-500020","price":"418.01","quantity":4,"variant":"","category":"tires","brand_name":"Atlas Tires","position":1,"coupon":"","custom_attributes":{"is_sidewall":"Outlined White Letters","tread_type":"All Season","diameter":"16","load_index":"104","speed_rating":"T","is_deal":false}}],
transaction_attrs: {},
custom_attrs: {
is_add_on: false
}
})
$store.analytics.sendDataToKlavio({
quantity: totalQuantity(),
product_data: {"id":50,"price":"418.01","is_package":null,"ply_name":null,"properties":{"size":{"title":"Size","value":"P235/70R16 104T"},"tread_type":{"title":"Tread Type","value":"All Season"},"sidewall":{"title":"Sidewall","value":"Outlined White Letters"},"speed_rating":{"title":"Speed Rating","value":"T"},"load_index":{"title":"Load Index","value":"104"},"diameter":{"title":"Diameter","value":"16"}},"specification":{"tread_type":{"key":"TreadType","title":"Tread Type","tooltip_title":"This describes how the tread is designed. Each design serves a different purpose depending on features and the terrain it's meant to be driven on.","value":"All Season","format":{}},"speed_rating":{"key":"SpeedRating","title":"Speed Rating","tooltip_title":"The maximum speed capability of the tire on a vehicle.","value":"T","format":{}},"load_index":{"key":"LoadIndexSingle","title":"Load Index","tooltip_title":"The maximum load (weight) rating capacity of a tire.","value":"104","format":{}},"sidewall":{"key":"Sidewall","title":"Sidewall","tooltip_title":"The appearance of the side of a tire.","value":"Outlined White Letters","format":{}},"size_desc":{"key":"Size","title":"Size","value":"P235/70R16 104T","format":{}},"utqg":{"title":"UTQG","tooltip_title":"Stands for Uniform Tire Quality Grading. An industry standard that is used for passenger car tires to measures their treadwear, temperature resistance and traction.","value":"420 A B","format":{}},"treadwear":{"key":"UTQGWear","title":"Treadwear","tooltip_title":"The rate at which a tire wears when tested in a controlled environment.","format":{},"value":"420"},"traction":{"key":"UTQGTraction","title":"Traction","tooltip_title":"A rating of the ability of a tire to stop on wet pavement (asphalt or concrete) when measured in a controlled environment.","format":{},"value":"A"},"temprature":{"key":"UTQGTemp","title":"Temperature","tooltip_title":"A rating for tire resistance to the generation of heat at speed. Ratings are A, B, and C. A is considered the best, and only tires graded A or B are allowed to be sold in the USA","format":{},"value":"B"},"max_load":{"key":"SingleMaxLoad","title":"Max. Load","format":{},"value":"1984 lbs"},"tread_depth":{"key":"TreadDepth","title":"Tread Depth","format":{},"value":"14.1/32\""},"rim_width_range":{"title":"Rim Width Range","value":"6.0 - 8.0\"","format":{}},"width":{"key":"SectionWidth","title":"Sect. Width","format":{},"value":"9.45\""},"diamter":{"key":"Diameter","title":"Overall Diameter","format":{},"value":"28.98\""}},"features":[],"description":[],"warranties":[],"additional_benefits":[],"url":"/products/atlas-tires-p235-70r16-500020-tires","image_url":"https://s3.amazonaws.com/tireagent-static-assets/default_tire.png","brand_name":"Atlas Tires","model_name":"Desperado (P Metric)","affiliate_domain":"","order_value":"0.00","size_desc":"P235/70R16 104T","sku":"9952-500020","rebate":null,"feature":null,"category":"tires","count_on_hand":0,"stock_status":"out_of_stock","name":"Atlas Tires - Desperado (P Metric) - 500020"},
...{"orderTotal":"0.00","lineItems":null}
})
$store.analytics.gtag({
eventType: 'add_to_cart',
quantity: { front: front.quantity },
products: [{"id":50,"price":"418.01","is_package":null,"ply_name":null,"properties":{"size":{"title":"Size","value":"P235/70R16 104T"},"tread_type":{"title":"Tread Type","value":"All Season"},"sidewall":{"title":"Sidewall","value":"Outlined White Letters"},"speed_rating":{"title":"Speed Rating","value":"T"},"load_index":{"title":"Load Index","value":"104"},"diameter":{"title":"Diameter","value":"16"}},"specification":{"tread_type":{"key":"TreadType","title":"Tread Type","tooltip_title":"This describes how the tread is designed. Each design serves a different purpose depending on features and the terrain it's meant to be driven on.","value":"All Season","format":{}},"speed_rating":{"key":"SpeedRating","title":"Speed Rating","tooltip_title":"The maximum speed capability of the tire on a vehicle.","value":"T","format":{}},"load_index":{"key":"LoadIndexSingle","title":"Load Index","tooltip_title":"The maximum load (weight) rating capacity of a tire.","value":"104","format":{}},"sidewall":{"key":"Sidewall","title":"Sidewall","tooltip_title":"The appearance of the side of a tire.","value":"Outlined White Letters","format":{}},"size_desc":{"key":"Size","title":"Size","value":"P235/70R16 104T","format":{}},"utqg":{"title":"UTQG","tooltip_title":"Stands for Uniform Tire Quality Grading. An industry standard that is used for passenger car tires to measures their treadwear, temperature resistance and traction.","value":"420 A B","format":{}},"treadwear":{"key":"UTQGWear","title":"Treadwear","tooltip_title":"The rate at which a tire wears when tested in a controlled environment.","format":{},"value":"420"},"traction":{"key":"UTQGTraction","title":"Traction","tooltip_title":"A rating of the ability of a tire to stop on wet pavement (asphalt or concrete) when measured in a controlled environment.","format":{},"value":"A"},"temprature":{"key":"UTQGTemp","title":"Temperature","tooltip_title":"A rating for tire resistance to the generation of heat at speed. Ratings are A, B, and C. A is considered the best, and only tires graded A or B are allowed to be sold in the USA","format":{},"value":"B"},"max_load":{"key":"SingleMaxLoad","title":"Max. Load","format":{},"value":"1984 lbs"},"tread_depth":{"key":"TreadDepth","title":"Tread Depth","format":{},"value":"14.1/32\""},"rim_width_range":{"title":"Rim Width Range","value":"6.0 - 8.0\"","format":{}},"width":{"key":"SectionWidth","title":"Sect. Width","format":{},"value":"9.45\""},"diamter":{"key":"Diameter","title":"Overall Diameter","format":{},"value":"28.98\""}},"features":[],"description":[],"warranties":[],"additional_benefits":[],"url":"/products/atlas-tires-p235-70r16-500020-tires","image_url":"https://s3.amazonaws.com/tireagent-static-assets/default_tire.png","brand_name":"Atlas Tires","model_name":"Desperado (P Metric)","affiliate_domain":"","order_value":"0.00","size_desc":"P235/70R16 104T","sku":"9952-500020","rebate":null,"feature":null,"category":"tires","count_on_hand":0,"stock_status":"out_of_stock","name":"Atlas Tires - Desperado (P Metric) - 500020"}],
})
$store.add_to_cart.disabled = true
$store.cart.actions.createLineItem([{ variant_id: 50, quantity: front.quantity, type: 'tire' }])
}">
Out Of Stock