${function() {
const variantData = data.variant || {"id":"c28e090c-fed9-4c37-9fae-60b48201de41","product_id":"25d66af9-57a8-446a-8e35-3a8088a7c05e","title":"black-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-230525-A09-WT0002PD2L-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a877f568332a074c274fc35f4d9686f5.jpeg","path":"a877f568332a074c274fc35f4d9686f5.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-lgbt-rainbow-pride-skull-casual-print-t-shirt?variant=c28e090c-fed9-4c37-9fae-60b48201de41","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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}
`
}()}
Product was out of stock.
Product is unavailable.