${function() {
const variantData = data.variant || {"id":"a257548a-2f45-43af-90b0-93aa9f74d504","product_id":"5903d9a0-a975-42c2-a34f-93f3ad02a185","title":"orange-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210922763-orange-L","barcode":"","position":4,"option1":"orange","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8b94443d25802e716b07cc867dd6ecb.jpeg","path":"e8b94443d25802e716b07cc867dd6ecb.jpeg","width":619,"height":622,"alt":"Two-Piece Fashion Casual V-Neck Cardigan Temperament","aspect_ratio":0.9951768488745981},"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=a257548a-2f45-43af-90b0-93aa9f74d504","available_quantity":999999999,"options":[{"name":"color","value":"orange"},{"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.