${function() {
const variantData = data.variant || {"id":"a78cd023-694c-4134-9fe5-bff82b949bb6","product_id":"454ba70d-c576-4478-8a72-56d19d3c2653","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306686-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e338bbc93fd718f24e61652548439947.jpeg","path":"e338bbc93fd718f24e61652548439947.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.24","price":"24.99","retail_price":"34.24","available":true,"url":"\/products\/womens-love-dog-paw-print-hooded-sweatshirt-y7ar?variant=a78cd023-694c-4134-9fe5-bff82b949bb6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"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":"a78cd023-694c-4134-9fe5-bff82b949bb6","product_id":"454ba70d-c576-4478-8a72-56d19d3c2653","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH306686-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e338bbc93fd718f24e61652548439947.jpeg","path":"e338bbc93fd718f24e61652548439947.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.24","price":"24.99","retail_price":"34.24","available":true,"url":"\/products\/womens-love-dog-paw-print-hooded-sweatshirt-y7ar?variant=a78cd023-694c-4134-9fe5-bff82b949bb6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}