${function() {
const variantData = data.variant || {"id":"2a85e812-ef6e-41cc-bf16-a2829dccbb8a","product_id":"eeb9b570-7f6f-4987-b6df-195b1e6a19f2","title":"blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428449-blue-S","barcode":"","position":11,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/718d200f4d6f41febcf9b0309f920fbb.jpeg","path":"718d200f4d6f41febcf9b0309f920fbb.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=2a85e812-ef6e-41cc-bf16-a2829dccbb8a","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"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.