${function() {
const variantData = data.variant || {"id":"5f744bac-0dbe-46f4-b80e-fcc7b0431eb1","product_id":"541ac764-5fd1-4784-be8e-ada50228932d","title":"black-s","weight_unit":"kg","inventory_quantity":999,"sku":"5021243","barcode":"5021243","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e85b248d448987acfeb8ac62ef102f11.webp","path":"e85b248d448987acfeb8ac62ef102f11.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.69","retail_price":"0","available":true,"url":"\/products\/round-neck-long-sleeve-casual-t-shirt?variant=5f744bac-0dbe-46f4-b80e-fcc7b0431eb1","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"s"}],"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 : 5021243
Barcode : 5021243
${function(){
const variantData = data.variant || {"id":"5f744bac-0dbe-46f4-b80e-fcc7b0431eb1","product_id":"541ac764-5fd1-4784-be8e-ada50228932d","title":"black-s","weight_unit":"kg","inventory_quantity":999,"sku":"5021243","barcode":"5021243","position":1,"option1":"black","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e85b248d448987acfeb8ac62ef102f11.webp","path":"e85b248d448987acfeb8ac62ef102f11.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.69","retail_price":"0","available":true,"url":"\/products\/round-neck-long-sleeve-casual-t-shirt?variant=5f744bac-0dbe-46f4-b80e-fcc7b0431eb1","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"s"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}