people are viewing this right now
${function() {
const variantData = data.variant || {"id":"0b754f5f-52bf-4f94-9d35-6f41d98ee246","product_id":"6b0a43f6-f539-4b96-8bb0-5e2eba2e80f2","title":"Green-M\uff08UK10-12)","weight_unit":"lb","inventory_quantity":1000,"sku":"LF10269189LVSM","barcode":"","position":1,"option1":"Green","option2":"M\uff08UK10-12)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8617a27aadaae1864d122111a9cb5eca.jpeg","path":"8617a27aadaae1864d122111a9cb5eca.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.98","price":"34.99","retail_price":"43.98","available":true,"url":"\/products\/cinching-dress?variant=0b754f5f-52bf-4f94-9d35-6f41d98ee246","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M\uff08UK10-12)"}],"off_ratio":20,"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":"0b754f5f-52bf-4f94-9d35-6f41d98ee246","product_id":"6b0a43f6-f539-4b96-8bb0-5e2eba2e80f2","title":"Green-M\uff08UK10-12)","weight_unit":"lb","inventory_quantity":1000,"sku":"LF10269189LVSM","barcode":"","position":1,"option1":"Green","option2":"M\uff08UK10-12)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8617a27aadaae1864d122111a9cb5eca.jpeg","path":"8617a27aadaae1864d122111a9cb5eca.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.98","price":"34.99","retail_price":"43.98","available":true,"url":"\/products\/cinching-dress?variant=0b754f5f-52bf-4f94-9d35-6f41d98ee246","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"M\uff08UK10-12)"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}