${function() {
const variantData = data.variant || {"id":"6f8ba960-7b38-41a5-ba3d-6279a7d1da0f","product_id":"cfb37b87-89f6-4d7f-9e5e-2aa76c38f0e3","title":"white-S","weight_unit":"kg","inventory_quantity":0,"sku":"162-240527-05-MT0071V383-white-S","barcode":"","position":9,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1dc7a9067f9307cd67987308088487dd.jpeg","path":"1dc7a9067f9307cd67987308088487dd.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/pride-day-rainbow-element-skull-hand-rainbow-print-t-shirt?variant=6f8ba960-7b38-41a5-ba3d-6279a7d1da0f","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.