${function() {
const variantData = data.variant || {"id":"5174f164-ffe6-4ab8-9c98-41f9284b0a3f","product_id":"bac22e6c-1ada-476d-9829-06e05eff5297","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"JW240201954-Black-S","barcode":"","position":15,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93f41e20f614fddade022f15ef125936.jpeg","path":"93f41e20f614fddade022f15ef125936.jpeg","width":640,"height":853,"alt":"","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"21.99","retail_price":"23.99","available":true,"url":"\/products\/marine-animal-print-washed-short-sleeved-t-shirt-nbxx712a48f4-f2f4-461e-81e3-5602d78549be?variant=5174f164-ffe6-4ab8-9c98-41f9284b0a3f","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":8,"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.