people are viewing this right now
${function() {
const variantData = data.variant || {"id":"2c0bde08-46bb-4a57-ac05-9e94669f6123","product_id":"4ade5fd4-ec53-4056-a8ef-d851b8628f79","title":"green-36","weight_unit":"lb","inventory_quantity":1000,"sku":"PO2145765-\u7eff\u827236","barcode":"","position":1,"option1":"green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14ed9b290726c7da9f1e935e54bf0186.jpeg","path":"14ed9b290726c7da9f1e935e54bf0186.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.47,"min_quantity":1}],"weight":"0","compare_at_price":"64.74","price":"43.47","retail_price":"64.74","available":true,"url":"\/products\/35-43-graffiti-platform-lace-up-shoes-for-women-casual-walking-shoes?variant=2c0bde08-46bb-4a57-ac05-9e94669f6123","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"36"}],"off_ratio":33,"flashsale_info":[],"sales":5};
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":"2c0bde08-46bb-4a57-ac05-9e94669f6123","product_id":"4ade5fd4-ec53-4056-a8ef-d851b8628f79","title":"green-36","weight_unit":"lb","inventory_quantity":1000,"sku":"PO2145765-\u7eff\u827236","barcode":"","position":1,"option1":"green","option2":"36","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14ed9b290726c7da9f1e935e54bf0186.jpeg","path":"14ed9b290726c7da9f1e935e54bf0186.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.47,"min_quantity":1}],"weight":"0","compare_at_price":"64.74","price":"43.47","retail_price":"64.74","available":true,"url":"\/products\/35-43-graffiti-platform-lace-up-shoes-for-women-casual-walking-shoes?variant=2c0bde08-46bb-4a57-ac05-9e94669f6123","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"36"}],"off_ratio":33,"flashsale_info":[],"sales":5};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}