${function() {
const variantData = data.variant || {"id":"af83125b-6b52-4df1-aa59-83514dbb28ce","product_id":"40c83962-2723-48be-8a2e-c99b4b6494ae","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"135-230915-16-WS0001ZTB4-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8cad1539b88faf59b4a85dfe4c4274e7.jpeg","path":"8cad1539b88faf59b4a85dfe4c4274e7.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/christmas-dog-print-hoodie?variant=af83125b-6b52-4df1-aa59-83514dbb28ce","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.