${function() {
const variantData = data.variant || {"id":"844fd190-939e-49f8-bbc9-f5c94567492e","product_id":"8b336ea1-b56e-4285-b161-f2709d2f3f2c","title":"White-S","weight_unit":"g","inventory_quantity":702,"sku":"101822240009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be1221095447d37f74fca201e26fe353.jpeg","path":"be1221095447d37f74fca201e26fe353.jpeg","width":800,"height":800,"alt":"Under The Sheet Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/under-the-sheet-printed-mens-t-shirt-3j1i?variant=844fd190-939e-49f8-bbc9-f5c94567492e","available_quantity":702,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1461};
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.
${function(){
const variantData = data.variant || {"id":"844fd190-939e-49f8-bbc9-f5c94567492e","product_id":"8b336ea1-b56e-4285-b161-f2709d2f3f2c","title":"White-S","weight_unit":"g","inventory_quantity":702,"sku":"101822240009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be1221095447d37f74fca201e26fe353.jpeg","path":"be1221095447d37f74fca201e26fe353.jpeg","width":800,"height":800,"alt":"Under The Sheet Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/under-the-sheet-printed-mens-t-shirt-3j1i?variant=844fd190-939e-49f8-bbc9-f5c94567492e","available_quantity":702,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1461};
return `
`
}()}