${function() {
const variantData = data.variant || {"id":"a966a662-a5de-4062-afb2-59d17c5cc411","product_id":"7abd68ac-f195-4269-a9c6-0549ead4bffd","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-28-MT0049BTKU-white-S","barcode":"","position":9,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cffec72c0c647ae5eeb3b77007c27bb7.jpeg","path":"cffec72c0c647ae5eeb3b77007c27bb7.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/pride-day-element-rainbow-element-colorful-skull-hand-print-mens-t-shirt?variant=a966a662-a5de-4062-afb2-59d17c5cc411","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"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.