${function() {
const variantData = data.variant || {"id":"03e89b35-d0aa-4d71-afdc-4c2fc3472110","product_id":"5f2f44ea-a79f-48c3-9676-b84164be82a5","title":"Gray-s","weight_unit":"kg","inventory_quantity":1000,"sku":"5018030","barcode":"5018030","position":1,"option1":"Gray","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15f24ee0ef5fd27b75bfcf665ea481f7.jpeg","path":"15f24ee0ef5fd27b75bfcf665ea481f7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.42","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/lapel-long-sleeve-belt-asymmetrical-blouses?variant=03e89b35-d0aa-4d71-afdc-4c2fc3472110","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"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 : 5018030
Weight : 0.42kg
Barcode : 5018030
${function(){
const variantData = data.variant || {"id":"03e89b35-d0aa-4d71-afdc-4c2fc3472110","product_id":"5f2f44ea-a79f-48c3-9676-b84164be82a5","title":"Gray-s","weight_unit":"kg","inventory_quantity":1000,"sku":"5018030","barcode":"5018030","position":1,"option1":"Gray","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/15f24ee0ef5fd27b75bfcf665ea481f7.jpeg","path":"15f24ee0ef5fd27b75bfcf665ea481f7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0.42","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/lapel-long-sleeve-belt-asymmetrical-blouses?variant=03e89b35-d0aa-4d71-afdc-4c2fc3472110","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"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}
`
}()}