${function() {
const variantData = data.variant || {"id":"017a40a0-d1f8-4136-abd2-2e6574cfa077","product_id":"11c5aa81-338e-4277-a1ba-852071c49f0d","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"HL3695-1-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/577ab0218859a1e99677c5ae8a37c97f.jpeg","path":"577ab0218859a1e99677c5ae8a37c97f.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"17.98","retail_price":"0","available":true,"url":"\/products\/casual-vacation-floral-patchwork-pocket-half-a-turtleneck-sleeveless-two-pieces?variant=017a40a0-d1f8-4136-abd2-2e6574cfa077","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"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":"017a40a0-d1f8-4136-abd2-2e6574cfa077","product_id":"11c5aa81-338e-4277-a1ba-852071c49f0d","title":"Yellow-S","weight_unit":"kg","inventory_quantity":0,"sku":"HL3695-1-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/577ab0218859a1e99677c5ae8a37c97f.jpeg","path":"577ab0218859a1e99677c5ae8a37c97f.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"17.98","retail_price":"0","available":true,"url":"\/products\/casual-vacation-floral-patchwork-pocket-half-a-turtleneck-sleeveless-two-pieces?variant=017a40a0-d1f8-4136-abd2-2e6574cfa077","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"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}
`
}()}