${function() {
const variantData = data.variant || {"id":"660e1673-e13a-40f2-a3e8-d2900bd27a6e","product_id":"5a256d16-afd5-4f50-9277-89808b9652fd","title":"white-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4717642","barcode":"4717642","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b47b2e853378763e053c5b6929c3e3d3.jpeg","path":"b47b2e853378763e053c5b6929c3e3d3.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/white-patchwork-plain-t-shirts-blouses-1-h8zk?variant=660e1673-e13a-40f2-a3e8-d2900bd27a6e","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"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 : 4717642
Weight : 0.15kg
Barcode : 4717642
${function(){
const variantData = data.variant || {"id":"660e1673-e13a-40f2-a3e8-d2900bd27a6e","product_id":"5a256d16-afd5-4f50-9277-89808b9652fd","title":"white-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"4717642","barcode":"4717642","position":1,"option1":"white","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b47b2e853378763e053c5b6929c3e3d3.jpeg","path":"b47b2e853378763e053c5b6929c3e3d3.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"17.99","retail_price":"0","available":true,"url":"\/products\/white-patchwork-plain-t-shirts-blouses-1-h8zk?variant=660e1673-e13a-40f2-a3e8-d2900bd27a6e","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}