${function() {
const variantData = data.variant || {"id":"7d38165c-ba50-49d1-b184-ab3c44fe684d","product_id":"48a88a93-589a-4ac2-b456-d37c89622df5","title":"1 PC","weight_unit":"kg","inventory_quantity":998,"sku":"TY19961-E096","barcode":"","position":1,"option1":"1 PC","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"9.99","retail_price":"0","available":true,"url":"\/products\/jumping-stunt-toy-car?variant=7d38165c-ba50-49d1-b184-ab3c44fe684d","available_quantity":999999999,"options":[{"name":"Quantity","value":"1 PC"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.