people are viewing this right now
${function() {
const variantData = data.variant || {"id":"316e49ea-8a58-4e73-9750-40d18baadb90","product_id":"535ab35e-5124-44a1-9748-f7dbaacd3bcc","title":"Black-S","weight_unit":"lb","inventory_quantity":1000,"sku":"XW2001486-\u9ed1\u8272S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dc652bfa4574bd96b70ddbb6560bd3c.jpeg","path":"4dc652bfa4574bd96b70ddbb6560bd3c.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"76.56","price":"39.99","retail_price":"76.56","available":true,"url":"\/products\/elegant-contrast-lace-pleated-dress?variant=316e49ea-8a58-4e73-9750-40d18baadb90","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":48,"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":"316e49ea-8a58-4e73-9750-40d18baadb90","product_id":"535ab35e-5124-44a1-9748-f7dbaacd3bcc","title":"Black-S","weight_unit":"lb","inventory_quantity":1000,"sku":"XW2001486-\u9ed1\u8272S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4dc652bfa4574bd96b70ddbb6560bd3c.jpeg","path":"4dc652bfa4574bd96b70ddbb6560bd3c.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"76.56","price":"39.99","retail_price":"76.56","available":true,"url":"\/products\/elegant-contrast-lace-pleated-dress?variant=316e49ea-8a58-4e73-9750-40d18baadb90","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}