${function() {
const variantData = data.variant || {"id":"662f185c-ee2c-4a49-9534-9bbd05ae53a6","product_id":"4e3a8690-4970-421b-9999-79ccd72a3802","title":"\ud83d\udd25Hot Color & 50% OFF\ud83d\udd25Apple-Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"a-\ud83d\udd25Hot Color & 50% OFF\ud83d\udd25Apple-Silver-A00218313","barcode":"","position":1,"option1":"\ud83d\udd25Hot Color & 50% OFF\ud83d\udd25Apple","option2":"Silver","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f5cf1c467480ace644a18d2c8012766.jpeg","path":"9f5cf1c467480ace644a18d2c8012766.jpeg","width":800,"height":1301,"alt":"","aspect_ratio":0.6149116064565718},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.98","price":"27.99","retail_price":"55.98","available":true,"url":"\/products\/universal-remote-control?variant=662f185c-ee2c-4a49-9534-9bbd05ae53a6","available_quantity":1000,"options":[{"name":"Type","value":"\ud83d\udd25Hot Color & 50% OFF\ud83d\udd25Apple"},{"name":"Option","value":"Silver"}],"off_ratio":50,"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.