${function() {
const variantData = data.variant || {"id":"082f6e9b-3e25-4269-95d2-c574674b9bba","product_id":"eeb9b570-7f6f-4987-b6df-195b1e6a19f2","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428449-white-S","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/929e75ecaab37eb59ee991e89fd7071f.jpeg","path":"929e75ecaab37eb59ee991e89fd7071f.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=082f6e9b-3e25-4269-95d2-c574674b9bba","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"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.