${function() {
const variantData = data.variant || {"id":"e4a743d0-ba4d-4e1c-8cc2-fd3bde298479","product_id":"b96c9699-69e5-4d8c-b5af-833be527ad6d","title":"HDMI 1.3-1 Meter","weight_unit":"lb","inventory_quantity":0,"sku":"DH HDMI-1.3 1M","barcode":"","position":1,"option1":"HDMI 1.3","option2":"1 Meter","option3":"","note":"","image":null,"wholesale_price":[{"price":120,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"120","retail_price":"0","available":true,"url":"\/products\/dh-labs-hdmi-cable-special-older-version-close-out?variant=e4a743d0-ba4d-4e1c-8cc2-fd3bde298479","available_quantity":999999999,"options":[{"name":"Select","value":"HDMI 1.3"},{"name":"Select Length","value":"1 Meter"}],"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":"e4a743d0-ba4d-4e1c-8cc2-fd3bde298479","product_id":"b96c9699-69e5-4d8c-b5af-833be527ad6d","title":"HDMI 1.3-1 Meter","weight_unit":"lb","inventory_quantity":0,"sku":"DH HDMI-1.3 1M","barcode":"","position":1,"option1":"HDMI 1.3","option2":"1 Meter","option3":"","note":"","image":null,"wholesale_price":[{"price":120,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"120","retail_price":"0","available":true,"url":"\/products\/dh-labs-hdmi-cable-special-older-version-close-out?variant=e4a743d0-ba4d-4e1c-8cc2-fd3bde298479","available_quantity":999999999,"options":[{"name":"Select","value":"HDMI 1.3"},{"name":"Select Length","value":"1 Meter"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}