${function() {
const variantData = data.variant || {"id":"d16d3e81-c3c7-41cf-84a1-1c446bb7ef4d","product_id":"13c05fca-c9da-4261-aa7b-322c5661fc5c","title":"1 PC-Beige","weight_unit":"kg","inventory_quantity":1000,"sku":"CP37646-C018","barcode":"","position":1,"option1":"1 PC","option2":"Beige","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3c2774a69dd5a9f14c20099f19ee1afa.jpeg","path":"3c2774a69dd5a9f14c20099f19ee1afa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":7.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"7.99","retail_price":"0","available":true,"url":"\/products\/cartoon-animal-dog-table-corner-protector?variant=d16d3e81-c3c7-41cf-84a1-1c446bb7ef4d","available_quantity":999999999,"options":[{"name":"Quantity","value":"1 PC"},{"name":"Color","value":"Beige"}],"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.