${function() {
const variantData = data.variant || {"id":"20aea4c1-4a4e-4182-b75f-0077cc5da154","product_id":"ac903495-dc4d-429c-a608-011cebb426f3","title":"coffee-s","weight_unit":"kg","inventory_quantity":999,"sku":"6723325b-b084-44ed-88cb-99e4ded69025","barcode":"0a5852fb-49cc-4bdb-9349-e1840156b918","position":1,"option1":"coffee","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a18aef4c7122b14c519330f1820ad4d.jpeg","path":"4a18aef4c7122b14c519330f1820ad4d.jpeg","width":880,"height":880,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.83","retail_price":"0","available":true,"url":"\/products\/printed-waist-long-sleeve-asymmetric-stitching-mini-dress?variant=20aea4c1-4a4e-4182-b75f-0077cc5da154","available_quantity":999999999,"options":[{"name":"Color","value":"coffee"},{"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 : 6723325b-b084-44ed-88cb-99e4ded69025
Barcode : 0a5852fb-49cc-4bdb-9349-e1840156b918
${function(){
const variantData = data.variant || {"id":"20aea4c1-4a4e-4182-b75f-0077cc5da154","product_id":"ac903495-dc4d-429c-a608-011cebb426f3","title":"coffee-s","weight_unit":"kg","inventory_quantity":999,"sku":"6723325b-b084-44ed-88cb-99e4ded69025","barcode":"0a5852fb-49cc-4bdb-9349-e1840156b918","position":1,"option1":"coffee","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a18aef4c7122b14c519330f1820ad4d.jpeg","path":"4a18aef4c7122b14c519330f1820ad4d.jpeg","width":880,"height":880,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.83","retail_price":"0","available":true,"url":"\/products\/printed-waist-long-sleeve-asymmetric-stitching-mini-dress?variant=20aea4c1-4a4e-4182-b75f-0077cc5da154","available_quantity":999999999,"options":[{"name":"Color","value":"coffee"},{"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}
`
}()}