${function() {
const variantData = data.variant || {"id":"59c8e688-a60f-4ddc-b926-4a9211596d19","product_id":"ca9c815e-cf4b-407c-ba70-eea4bf2353ad","title":"Tank Top(Y)-Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"40060261D_Tank Top(Y)||Yellow||S||SW","barcode":"","position":1,"option1":"Tank Top(Y)","option2":"Yellow","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/8934815d939e31081bb59b2872305035.jpeg","path":"8934815d939e31081bb59b2872305035.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.95","retail_price":"0","available":true,"url":"\/products\/sad-face-print-casual-round-neck-tank-top?variant=59c8e688-a60f-4ddc-b926-4a9211596d19","available_quantity":999999999,"options":[{"name":"PRODUCT TYPE","value":"Tank Top(Y)"},{"name":"COLOR","value":"Yellow"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.