${function() {
const variantData = data.variant || {"id":"d7e42416-e7f7-47f7-a236-32c09b80bdf2","product_id":"5903d9a0-a975-42c2-a34f-93f3ad02a185","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210922763-black-L","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/251215de55e7a6150afcc92e1dd61493.jpeg","path":"251215de55e7a6150afcc92e1dd61493.jpeg","width":623,"height":623,"alt":"Two-Piece Fashion Casual V-Neck Cardigan Temperament","aspect_ratio":1},"wholesale_price":[{"price":63.99,"min_quantity":1}],"weight":"0","compare_at_price":"78.04","price":"63.99","retail_price":"78.04","available":true,"url":"\/products\/two-piece-fashion-casual-v-neck-cardigan-temperament?variant=d7e42416-e7f7-47f7-a236-32c09b80bdf2","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":18,"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.