${function() {
const variantData = data.variant || {"id":"05089b95-8810-4a19-b3e2-963154ebe89a","product_id":"5b786639-fe57-412a-9a5c-44be2b44f93f","title":"Blue(224 words)","weight_unit":"kg","inventory_quantity":1000,"sku":"DJ-0143-\tBlue(224 words)","barcode":"","position":1,"option1":"Blue(224 words)","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/pocket-vocab-2?variant=05089b95-8810-4a19-b3e2-963154ebe89a","available_quantity":999999999,"options":[{"name":"Color","value":"Blue(224 words)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
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}
`
}()}
Product was out of stock.
Product is unavailable.