${function() {
const variantData = data.variant || {"id":"4818dcff-b3c9-424b-a595-ce1c88f1544b","product_id":"0ff0212a-efa4-408f-b9db-8f43163d15ef","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"111-230904-05-WT0002LKLN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc265b54a8a051cf150364312480fb5f.jpeg","path":"fc265b54a8a051cf150364312480fb5f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/folding-chair-t-shirt?variant=4818dcff-b3c9-424b-a595-ce1c88f1544b","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.