${function() {
const variantData = data.variant || {"id":"9b730fcf-2e74-4931-861d-0574030f1e6d","product_id":"2d4c014f-c879-43f1-a3cb-62d623b6ae75","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K570534720293773312","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42a22e056a5a01c4ff07293f4b760e6d.jpeg","path":"42a22e056a5a01c4ff07293f4b760e6d.jpeg","width":563,"height":713,"alt":"","aspect_ratio":0.7896213183730715},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"24.99","retail_price":"23.99","available":true,"url":"\/products\/mens-watercolor-sakura-printed-sweatshirt3cc892f9-69e4-49aa-98fb-4d9b2480f80b?variant=9b730fcf-2e74-4931-861d-0574030f1e6d","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"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}
`
}()}
Product was out of stock.
Product is unavailable.