${function() {
const variantData = data.variant || {"id":"5faded91-bf3b-42e5-8d49-4200f1b21352","product_id":"0827ff72-c0b3-487e-b9f0-98d2f18b04a3","title":"white-S","weight_unit":"g","inventory_quantity":1000,"sku":"099-230707-A06-WT0002VY8L-white-S","barcode":"","position":7,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9549e76dab5d5806530917bde98b9dd8.jpeg","path":"9549e76dab5d5806530917bde98b9dd8.jpeg","width":1200,"height":1600,"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\/womens-on-you-hang-up-scream-you-hang-up-halloween-horror-funny-ghost-face-xmas-christmas-valentines-day-hocus-pocus-pumpkin-casual-t-shirt?variant=5faded91-bf3b-42e5-8d49-4200f1b21352","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.