${function() {
const variantData = data.variant || {"id":"4ba0fe6f-eb33-418f-bbb6-9f55e7a47168","product_id":"8d26d360-a152-4182-85a1-f14697bc9f97","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A217-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20e2bec9dcbb5939caae23e184cc66c6.jpeg","path":"20e2bec9dcbb5939caae23e184cc66c6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"167","compare_at_price":"29.56","price":"16.98","retail_price":"29.56","available":true,"url":"\/products\/lifes-too-short-to-give-a-shit-printed-women-t-shirt?variant=4ba0fe6f-eb33-418f-bbb6-9f55e7a47168","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"4ba0fe6f-eb33-418f-bbb6-9f55e7a47168","product_id":"8d26d360-a152-4182-85a1-f14697bc9f97","title":"Black-S","weight_unit":"g","inventory_quantity":0,"sku":"T55B-A217-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/20e2bec9dcbb5939caae23e184cc66c6.jpeg","path":"20e2bec9dcbb5939caae23e184cc66c6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"167","compare_at_price":"29.56","price":"16.98","retail_price":"29.56","available":true,"url":"\/products\/lifes-too-short-to-give-a-shit-printed-women-t-shirt?variant=4ba0fe6f-eb33-418f-bbb6-9f55e7a47168","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}