${function() {
const variantData = data.variant || {"id":"1be080f0-000f-43f9-8dc0-ea4df787ae3e","product_id":"46b4ec7a-0bed-430e-b5b6-72778ff10915","title":"White-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/506b9af6f760b0c4cb33d2f157f85772.webp","path":"506b9af6f760b0c4cb33d2f157f85772.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/fashion-white-short-sleeves-shift-dresses?variant=1be080f0-000f-43f9-8dc0-ea4df787ae3e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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.
${function(){
const variantData = data.variant || {"id":"1be080f0-000f-43f9-8dc0-ea4df787ae3e","product_id":"46b4ec7a-0bed-430e-b5b6-72778ff10915","title":"White-S","weight_unit":"g","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/506b9af6f760b0c4cb33d2f157f85772.webp","path":"506b9af6f760b0c4cb33d2f157f85772.webp","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/fashion-white-short-sleeves-shift-dresses?variant=1be080f0-000f-43f9-8dc0-ea4df787ae3e","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}