${function() {
const variantData = data.variant || {"id":"23a20e12-24a4-470f-bbc0-c06c10d68aa6","product_id":"3b5212e6-f32b-46af-b17e-6c23647cbdf5","title":"gray-xl","weight_unit":"kg","inventory_quantity":999,"sku":"4274507","barcode":"4274507","position":1,"option1":"gray","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c5fbecc9b53d8e07b94d2fd40e85244.webp","path":"4c5fbecc9b53d8e07b94d2fd40e85244.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"12","retail_price":"0","available":true,"url":"\/products\/round-neck-broken-holes-printed-star-t-shirts?variant=23a20e12-24a4-470f-bbc0-c06c10d68aa6","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
Sku : 4274507
Weight : 0.2kg
Barcode : 4274507
${function(){
const variantData = data.variant || {"id":"23a20e12-24a4-470f-bbc0-c06c10d68aa6","product_id":"3b5212e6-f32b-46af-b17e-6c23647cbdf5","title":"gray-xl","weight_unit":"kg","inventory_quantity":999,"sku":"4274507","barcode":"4274507","position":1,"option1":"gray","option2":"xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c5fbecc9b53d8e07b94d2fd40e85244.webp","path":"4c5fbecc9b53d8e07b94d2fd40e85244.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"12","retail_price":"0","available":true,"url":"\/products\/round-neck-broken-holes-printed-star-t-shirts?variant=23a20e12-24a4-470f-bbc0-c06c10d68aa6","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}