${function() {
const variantData = data.variant || {"id":"7923ab96-637f-46e9-b0d9-c50bfc148573","product_id":"2cac1a92-4e94-49bb-84e2-1ab52a8d4eae","title":"back-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210930156-back-L","barcode":"","position":1,"option1":"back","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ada2e875b6a99f319a2db18f930b1738.jpeg","path":"ada2e875b6a99f319a2db18f930b1738.jpeg","width":800,"height":800,"alt":"Two-piece casual casual suit with fashionable temperament","aspect_ratio":1},"wholesale_price":[{"price":55.32,"min_quantity":1}],"weight":"0","compare_at_price":"65.08","price":"55.32","retail_price":"65.08","available":true,"url":"\/products\/two-piece-casual-casual-suit-with-fashionable-temperament-hi9k?variant=7923ab96-637f-46e9-b0d9-c50bfc148573","available_quantity":999999999,"options":[{"name":"color","value":"back"},{"name":"size","value":"L"}],"off_ratio":15,"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.