people are viewing this right now
${function() {
const variantData = data.variant || {"id":"b22547c3-1a45-45fd-9498-0c2af7dc8a68","product_id":"a922e670-ad79-4df2-bbdc-d2e5ed667794","title":"black-S","weight_unit":"kg","inventory_quantity":989,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/55d3b37bf48db2676dae4ec375e49600.jpeg","path":"55d3b37bf48db2676dae4ec375e49600.jpeg","width":1066,"height":1600,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.99","retail_price":"0","available":true,"url":"\/products\/eveninghalter-neck-sleeveless-slit-slimming-dressbanquet-gown?variant=b22547c3-1a45-45fd-9498-0c2af7dc8a68","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":60};
const saveType = "amount";
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.
${function(){
const variantData = data.variant || {"id":"b22547c3-1a45-45fd-9498-0c2af7dc8a68","product_id":"a922e670-ad79-4df2-bbdc-d2e5ed667794","title":"black-S","weight_unit":"kg","inventory_quantity":989,"sku":"","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/55d3b37bf48db2676dae4ec375e49600.jpeg","path":"55d3b37bf48db2676dae4ec375e49600.jpeg","width":1066,"height":1600,"alt":"","aspect_ratio":0.66625},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.99","retail_price":"0","available":true,"url":"\/products\/eveninghalter-neck-sleeveless-slit-slimming-dressbanquet-gown?variant=b22547c3-1a45-45fd-9498-0c2af7dc8a68","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":60};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}