people are viewing this right now
${function() {
const variantData = data.variant || {"id":"ba2b87bc-767b-4eb2-acbf-7b54364442ec","product_id":"f1052f5e-19f3-4c17-9af2-8d1717cd4761","title":"Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"FX2008560-\u78a7\u7effS","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/79cfa75b1447cab8510dd6f8b55cd3bb.jpeg","path":"79cfa75b1447cab8510dd6f8b55cd3bb.jpeg","width":720,"height":1280,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"76.88","price":"38.99","retail_price":"76.88","available":true,"url":"\/products\/chiffon-solid-color-loose-dress-2?variant=ba2b87bc-767b-4eb2-acbf-7b54364442ec","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":49,"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":"ba2b87bc-767b-4eb2-acbf-7b54364442ec","product_id":"f1052f5e-19f3-4c17-9af2-8d1717cd4761","title":"Green-S","weight_unit":"lb","inventory_quantity":1000,"sku":"FX2008560-\u78a7\u7effS","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/79cfa75b1447cab8510dd6f8b55cd3bb.jpeg","path":"79cfa75b1447cab8510dd6f8b55cd3bb.jpeg","width":720,"height":1280,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"76.88","price":"38.99","retail_price":"76.88","available":true,"url":"\/products\/chiffon-solid-color-loose-dress-2?variant=ba2b87bc-767b-4eb2-acbf-7b54364442ec","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}