${function() {
const variantData = data.variant || {"id":"56783a2e-10b5-4930-b030-ae5a1f967f4b","product_id":"a2fa80c8-ce1b-4ec9-84ad-cde1d25340ff","title":"Green-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09646_G_S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f4a6a6dce610c3574ccee0091bfc8e1.jpeg","path":"6f4a6a6dce610c3574ccee0091bfc8e1.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"400","compare_at_price":"59.99","price":"49.99","retail_price":"59.99","available":true,"url":"\/products\/green-ivory-print-satin-top-pants-set?variant=56783a2e-10b5-4930-b030-ae5a1f967f4b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":17,"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 : MWZX09646_G_S
Weight : 400g
${function(){
const variantData = data.variant || {"id":"56783a2e-10b5-4930-b030-ae5a1f967f4b","product_id":"a2fa80c8-ce1b-4ec9-84ad-cde1d25340ff","title":"Green-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX09646_G_S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f4a6a6dce610c3574ccee0091bfc8e1.jpeg","path":"6f4a6a6dce610c3574ccee0091bfc8e1.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"400","compare_at_price":"59.99","price":"49.99","retail_price":"59.99","available":true,"url":"\/products\/green-ivory-print-satin-top-pants-set?variant=56783a2e-10b5-4930-b030-ae5a1f967f4b","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":17,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}