${function() {
const variantData = data.variant || {"id":"33c0178c-b66d-4481-8546-77f206b40d67","product_id":"af028438-2a41-4e1f-bec9-36d6c8786563","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":999,"sku":"4945482","barcode":"4945482","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6496af5ed1c2231b858844cf0a37652.jpeg","path":"e6496af5ed1c2231b858844cf0a37652.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/round-neck-half-sleeve-color-block-casual-dress?variant=33c0178c-b66d-4481-8546-77f206b40d67","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"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 : 4945482
Barcode : 4945482
${function(){
const variantData = data.variant || {"id":"33c0178c-b66d-4481-8546-77f206b40d67","product_id":"af028438-2a41-4e1f-bec9-36d6c8786563","title":"same_as_photo-s","weight_unit":"kg","inventory_quantity":999,"sku":"4945482","barcode":"4945482","position":1,"option1":"same_as_photo","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6496af5ed1c2231b858844cf0a37652.jpeg","path":"e6496af5ed1c2231b858844cf0a37652.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/round-neck-half-sleeve-color-block-casual-dress?variant=33c0178c-b66d-4481-8546-77f206b40d67","available_quantity":999999999,"options":[{"name":"Color","value":"same_as_photo"},{"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}
`
}()}