${function() {
const variantData = data.variant || {"id":"6fe3fe42-9934-4659-b09c-2a9ec182627c","product_id":"4a5f0b74-c1e1-42b1-83c4-1dac9a081921","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210963967461-Yellow-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39811891d52330f27a28ca891d9b958c.jpeg","path":"39811891d52330f27a28ca891d9b958c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.19","price":"18.99","retail_price":"37.19","available":true,"url":"\/products\/mens-shorts-summer-shorts-beach-shorts-drawstring-elastic-waist-3d-print-geometric-graphic-prints-breathable-soft-short-casual-daily-holiday-designer-ethnic-style-dark-khaki-yellow-micro-elastic?variant=6fe3fe42-9934-4659-b09c-2a9ec182627c","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":49,"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.