people are viewing this right now
${function() {
const variantData = data.variant || {"id":"fc56d3f0-7377-4533-a4ad-cca612f4ccc3","product_id":"394a50db-261f-4f40-8eac-c728c60426ec","title":"Blue-red-XS","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Blue-red","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/488c85e27c975d9684b977fb19f8576e.jpg","path":"488c85e27c975d9684b977fb19f8576e.jpg","width":683,"height":1024,"alt":"","aspect_ratio":0.6669921875},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.99","retail_price":"0","available":true,"url":"\/products\/gradient-contrast-sequined-long-sleeve-cocktail-dress?variant=fc56d3f0-7377-4533-a4ad-cca612f4ccc3","available_quantity":999999999,"options":[{"name":"color","value":"Blue-red"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"fc56d3f0-7377-4533-a4ad-cca612f4ccc3","product_id":"394a50db-261f-4f40-8eac-c728c60426ec","title":"Blue-red-XS","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Blue-red","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/488c85e27c975d9684b977fb19f8576e.jpg","path":"488c85e27c975d9684b977fb19f8576e.jpg","width":683,"height":1024,"alt":"","aspect_ratio":0.6669921875},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"69.99","retail_price":"0","available":true,"url":"\/products\/gradient-contrast-sequined-long-sleeve-cocktail-dress?variant=fc56d3f0-7377-4533-a4ad-cca612f4ccc3","available_quantity":999999999,"options":[{"name":"color","value":"Blue-red"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}