${function() {
const variantData = data.variant || {"id":"3abacc1d-11a9-470a-b3ce-46ffcf2118d0","product_id":"86a5486e-93dc-4e21-a253-80303c4e57a1","title":"Purple-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09590_PU_S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7dbceccf545abb60c325daf31753f535.jpeg","path":"7dbceccf545abb60c325daf31753f535.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.35,"min_quantity":1}],"weight":"400","compare_at_price":"59.99","price":"43.35","retail_price":"59.99","available":true,"url":"\/products\/round-neck-casual-t-shirt-top-shorts-set?variant=3abacc1d-11a9-470a-b3ce-46ffcf2118d0","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":28,"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 : MWZX09590_PU_S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"3abacc1d-11a9-470a-b3ce-46ffcf2118d0","product_id":"86a5486e-93dc-4e21-a253-80303c4e57a1","title":"Purple-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09590_PU_S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7dbceccf545abb60c325daf31753f535.jpeg","path":"7dbceccf545abb60c325daf31753f535.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.35,"min_quantity":1}],"weight":"400","compare_at_price":"59.99","price":"43.35","retail_price":"59.99","available":true,"url":"\/products\/round-neck-casual-t-shirt-top-shorts-set?variant=3abacc1d-11a9-470a-b3ce-46ffcf2118d0","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}