${function() {
const variantData = data.variant || {"id":"eb78c902-eb47-4a08-ba2b-e2bc645640d5","product_id":"74e6dc9d-94bc-4d31-ac8b-afd40f6697ba","title":"Black-S","weight_unit":"g","inventory_quantity":26,"sku":"MWZX07542_B_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e1c6ddd65d1a3360aa92a1975e54d3d.jpeg","path":"1e1c6ddd65d1a3360aa92a1975e54d3d.jpeg","width":375,"height":500,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"315","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/retro-round-neck-long-sleeve-long-dress?variant=eb78c902-eb47-4a08-ba2b-e2bc645640d5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":3};
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 : MWZX07542_B_S
Weight : 315g
${function(){
const variantData = data.variant || {"id":"eb78c902-eb47-4a08-ba2b-e2bc645640d5","product_id":"74e6dc9d-94bc-4d31-ac8b-afd40f6697ba","title":"Black-S","weight_unit":"g","inventory_quantity":26,"sku":"MWZX07542_B_S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e1c6ddd65d1a3360aa92a1975e54d3d.jpeg","path":"1e1c6ddd65d1a3360aa92a1975e54d3d.jpeg","width":375,"height":500,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"315","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/retro-round-neck-long-sleeve-long-dress?variant=eb78c902-eb47-4a08-ba2b-e2bc645640d5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}