${function() {
const variantData = data.variant || {"id":"4770309b-fb5b-4e98-90db-57f528b76e8a","product_id":"7f1f030e-347e-4b41-a20a-73c893cff3e8","title":"Brown-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX07998_BR_S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94994d19aad362b8824669c945584549.jpeg","path":"94994d19aad362b8824669c945584549.jpeg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"350","compare_at_price":"59.99","price":"45.99","retail_price":"59.99","available":true,"url":"\/products\/solid-velvet-vintage-casual-long-sleeve-shirt-dress?variant=4770309b-fb5b-4e98-90db-57f528b76e8a","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":4};
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 : MWZX07998_BR_S
Weight : 350g
${function(){
const variantData = data.variant || {"id":"4770309b-fb5b-4e98-90db-57f528b76e8a","product_id":"7f1f030e-347e-4b41-a20a-73c893cff3e8","title":"Brown-S","weight_unit":"g","inventory_quantity":20,"sku":"MWZX07998_BR_S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94994d19aad362b8824669c945584549.jpeg","path":"94994d19aad362b8824669c945584549.jpeg","width":533,"height":800,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"350","compare_at_price":"59.99","price":"45.99","retail_price":"59.99","available":true,"url":"\/products\/solid-velvet-vintage-casual-long-sleeve-shirt-dress?variant=4770309b-fb5b-4e98-90db-57f528b76e8a","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}