${function() {
const variantData = data.variant || {"id":"9f89d97d-bed0-4985-82ff-7c616cd46400","product_id":"2eb13798-6ab2-45f8-a542-87f3ec146dee","title":"Color-S","weight_unit":"kg","inventory_quantity":999,"sku":"086-230519-04-UT000158AV-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/75311ed66641d5bb01bf213693a4d5ec.jpeg","path":"75311ed66641d5bb01bf213693a4d5ec.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"200","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/mens-funny-daddy-cock-lgbt-pride-t-shirt?variant=9f89d97d-bed0-4985-82ff-7c616cd46400","available_quantity":999999999,"options":[{"name":"Color","value":"Color"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":6};
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.