${function() {
const variantData = data.variant || {"id":"3280fd9d-541c-420d-8c2e-57a0b24894af","product_id":"1ea6fcbc-7e42-4213-a79b-0998f8897dae","title":"white-1pc-Other","weight_unit":"kg","inventory_quantity":1000,"sku":"MHS-white-1pc","barcode":"","position":1,"option1":"white","option2":"1pc","option3":"Other","note":"","image":{"src":"\/\/img.staticdj.com\/252e1a701667113a71c83cbc44a8724b.jpeg","path":"252e1a701667113a71c83cbc44a8724b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"12.99","retail_price":"0","available":true,"url":"\/products\/remote-control-mounted-mobile-phone-plug-wall-holder-charging-multifunction-holder-stand?variant=3280fd9d-541c-420d-8c2e-57a0b24894af","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Pieces","value":"1pc"},{"name":"Rack Length","value":"Other"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.