${function() {
const variantData = data.variant || {"id":"ef35e15e-b8bf-459b-90a9-f022e7a83a27","product_id":"78a3aaa9-2f9e-48c3-895d-0fa78ac1aaa8","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240624-A47-MT0071WPB5-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3f482cf273e4776f66f09fba97f7d12.jpeg","path":"a3f482cf273e4776f66f09fba97f7d12.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\/unisex-ghost-dark-horror-gothic-halloween-art-print-t-shirt?variant=ef35e15e-b8bf-459b-90a9-f022e7a83a27","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"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.