${function() {
const variantData = data.variant || {"id":"10751849-8b30-42e2-8f35-c55da4d71987","product_id":"86b06739-f77c-4a58-a496-bfa3a7e07ec9","title":"Salt and pepper-100%(NORMAL)","weight_unit":"kg","inventory_quantity":996,"sku":"CN107","barcode":"","position":1,"option1":"Salt and pepper","option2":"100%(NORMAL)","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/salt-pepper-gray-cute-short-wigebd983d4-21c3-477e-9279-bd1d2fd9f78b?variant=10751849-8b30-42e2-8f35-c55da4d71987","available_quantity":999999999,"options":[{"name":"Color","value":"Salt and pepper"},{"name":"Density","value":"100%(NORMAL)"}],"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.
${function(){
const variantData = data.variant || {"id":"10751849-8b30-42e2-8f35-c55da4d71987","product_id":"86b06739-f77c-4a58-a496-bfa3a7e07ec9","title":"Salt and pepper-100%(NORMAL)","weight_unit":"kg","inventory_quantity":996,"sku":"CN107","barcode":"","position":1,"option1":"Salt and pepper","option2":"100%(NORMAL)","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29.99","retail_price":"0","available":true,"url":"\/products\/salt-pepper-gray-cute-short-wigebd983d4-21c3-477e-9279-bd1d2fd9f78b?variant=10751849-8b30-42e2-8f35-c55da4d71987","available_quantity":999999999,"options":[{"name":"Color","value":"Salt and pepper"},{"name":"Density","value":"100%(NORMAL)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}