${function() {
const variantData = data.variant || {"id":"ad0acbf1-a566-48ca-93ee-2c0de477acc7","product_id":"87349669-93ff-4617-bde9-ab9d14970a41","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"086-230115-07-MS0002M56Z-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1cb45bd12a46e35b0279d314d9f9452.jpeg","path":"f1cb45bd12a46e35b0279d314d9f9452.jpeg","width":1181,"height":1575,"alt":"","aspect_ratio":0.7498412698412699},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-hawaiian-sailor-octopus-ship-print-shirt?variant=ad0acbf1-a566-48ca-93ee-2c0de477acc7","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"S"}],"off_ratio":0,"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.