${function() {
const variantData = data.variant || {"id":"0ab1f273-5c97-4a37-bf7c-de8b5ea75686","product_id":"eeb9b570-7f6f-4987-b6df-195b1e6a19f2","title":"pink-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428449-pink-S","barcode":"","position":6,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2af383415ac2760a60c8baaf214cd396.jpeg","path":"2af383415ac2760a60c8baaf214cd396.jpeg","width":800,"height":800,"alt":"Irregular jacquard half-sleeve shirt","aspect_ratio":1},"wholesale_price":[{"price":34.79,"min_quantity":1}],"weight":"0.3","compare_at_price":"45","price":"34.79","retail_price":"45","available":true,"url":"\/products\/irregular-jacquard-half-sleeve-shirt?variant=0ab1f273-5c97-4a37-bf7c-de8b5ea75686","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"S"}],"off_ratio":23,"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.