${function() {
const variantData = data.variant || {"id":"038ad434-581e-4a65-8fa5-4ecc65aa2891","product_id":"b8be1567-3b16-46fe-b404-be1fab5aaf0b","title":"Multicolor-S","weight_unit":"g","inventory_quantity":999,"sku":"086-230823-13-MT0077G4P5-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ebe1d2162e6bba2166fbcd8790b62ea6.jpeg","path":"ebe1d2162e6bba2166fbcd8790b62ea6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"300","compare_at_price":"35.99","price":"35.99","retail_price":"35.99","available":true,"url":"\/products\/vintage-cute-art-print-casual-knit-pullover-sweater-1?variant=038ad434-581e-4a65-8fa5-4ecc65aa2891","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.