${function() {
const variantData = data.variant || {"id":"4d59c7be-6683-441e-8416-8b13382b093c","product_id":"1696ba9a-9d6a-4c5f-adbd-818237e517b5","title":"coffee-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662209232724-coffee-one size","barcode":"","position":2,"option1":"coffee","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2dcd1d55b2c574f094794f196ab3bb16.jpeg","path":"2dcd1d55b2c574f094794f196ab3bb16.jpeg","width":800,"height":1000,"alt":"Autumn and winter casual soft skirt","aspect_ratio":0.8},"wholesale_price":[{"price":59.25,"min_quantity":1}],"weight":"0","compare_at_price":"104.5","price":"59.25","retail_price":"104.5","available":true,"url":"\/products\/autumn-and-winter-casual-soft-skirt?variant=4d59c7be-6683-441e-8416-8b13382b093c","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"one size"}],"off_ratio":43,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.