people are viewing this right now
${function() {
const variantData = data.variant || {"id":"e74a91c6-73ae-4d67-856e-f00858179c9a","product_id":"2ef87824-3d60-4389-94ee-9091a209f942","title":"apricot-35","weight_unit":"kg","inventory_quantity":9998,"sku":"","barcode":"","position":1,"option1":"apricot","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48f356470c042f232a8dd2e0c26e3434.jpg","path":"48f356470c042f232a8dd2e0c26e3434.jpg","width":711,"height":1066,"alt":"","aspect_ratio":0.6669793621013134},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/heelsversatile-simple-one-line-buckle-pointed-toe-chunky-high-heelsheels?variant=e74a91c6-73ae-4d67-856e-f00858179c9a","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"35"}],"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":"e74a91c6-73ae-4d67-856e-f00858179c9a","product_id":"2ef87824-3d60-4389-94ee-9091a209f942","title":"apricot-35","weight_unit":"kg","inventory_quantity":9998,"sku":"","barcode":"","position":1,"option1":"apricot","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48f356470c042f232a8dd2e0c26e3434.jpg","path":"48f356470c042f232a8dd2e0c26e3434.jpg","width":711,"height":1066,"alt":"","aspect_ratio":0.6669793621013134},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/heelsversatile-simple-one-line-buckle-pointed-toe-chunky-high-heelsheels?variant=e74a91c6-73ae-4d67-856e-f00858179c9a","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"35"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}