${function() {
const variantData = data.variant || {"id":"881a1968-6870-4671-89af-6c5770a072b3","product_id":"e30d512e-60a0-410a-9b63-eb2d54d2d426","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Dark Blue-S-A00437623","barcode":"","position":17,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89fc8ad3d4e93d1be0521b7153159a23.jpeg","path":"89fc8ad3d4e93d1be0521b7153159a23.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.8,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"19.8","retail_price":"39.99","available":true,"url":"\/products\/cotton-and-linen-t-shirt?variant=881a1968-6870-4671-89af-6c5770a072b3","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Size","value":"S"}],"off_ratio":50,"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":"881a1968-6870-4671-89af-6c5770a072b3","product_id":"e30d512e-60a0-410a-9b63-eb2d54d2d426","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"LSN-Dark Blue-S-A00437623","barcode":"","position":17,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89fc8ad3d4e93d1be0521b7153159a23.jpeg","path":"89fc8ad3d4e93d1be0521b7153159a23.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.8,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"19.8","retail_price":"39.99","available":true,"url":"\/products\/cotton-and-linen-t-shirt?variant=881a1968-6870-4671-89af-6c5770a072b3","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}