${function() {
const variantData = data.variant || {"id":"c9f420b9-9e1c-4d04-8977-de6fdb4c596f","product_id":"1ae4b8d1-5fe1-4d5a-902d-d35fbb1a1ef7","title":"yellow-one size","weight_unit":"kg","inventory_quantity":0,"sku":"66221027886-yellow-one size","barcode":"","position":2,"option1":"yellow","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9339fa2399d0cd713113d10f16f9b0b7.jpeg","path":"9339fa2399d0cd713113d10f16f9b0b7.jpeg","width":966,"height":955,"alt":"Retro Twist Lazy Loose Sweater","aspect_ratio":1.0115183246073298},"wholesale_price":[{"price":54.15,"min_quantity":1}],"weight":"0.5","compare_at_price":"106.18","price":"54.15","retail_price":"106.18","available":true,"url":"\/products\/retro-twist-lazy-loose-sweater?variant=c9f420b9-9e1c-4d04-8977-de6fdb4c596f","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"one size"}],"off_ratio":49,"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.