${function() {
const variantData = data.variant || {"id":"12efa12e-cde8-4eaa-b134-ece4db97dccb","product_id":"7847abdb-fcb8-4a4b-91ea-6e2a24fae191","title":"Black-L","weight_unit":"kg","inventory_quantity":0,"sku":"662208301808-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73cbc7cf3166297ec105a1e2d69d270f.jpeg","path":"73cbc7cf3166297ec105a1e2d69d270f.jpeg","width":800,"height":800,"alt":"Autumn winter stand collar waist jumpsuit","aspect_ratio":1},"wholesale_price":[{"price":47.53,"min_quantity":1}],"weight":"0.7","compare_at_price":"56.58","price":"47.53","retail_price":"56.58","available":true,"url":"\/products\/autumn-winter-stand-collar-waist-jumpsuit?variant=12efa12e-cde8-4eaa-b134-ece4db97dccb","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":16,"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.