VOLTWORKS Remote Control for Power Inverter On/Off Switch with 30 Ft and Push Button Mountable Remote Switch
Remote control R3
${function(){
const variantData = data.variant || {"id":"7d269d7b-1cd7-47b2-bd0f-193c5c27c0d7","product_id":"26545882-d013-4a6e-9b09-e4ddef473d28","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"Remote Control R3","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":false,"url":"\/products\/voltworks-remote-control-for-power-inverter-on-off-switch-with-30-ft-and-push-button-mountable-remote-switch?variant=7d269d7b-1cd7-47b2-bd0f-193c5c27c0d7","available_quantity":0,"options":[],"off_ratio":0,"flashsale_info":[],"sales":11};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"7d269d7b-1cd7-47b2-bd0f-193c5c27c0d7","product_id":"26545882-d013-4a6e-9b09-e4ddef473d28","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"Remote Control R3","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":false,"url":"\/products\/voltworks-remote-control-for-power-inverter-on-off-switch-with-30-ft-and-push-button-mountable-remote-switch?variant=7d269d7b-1cd7-47b2-bd0f-193c5c27c0d7","available_quantity":0,"options":[],"off_ratio":0,"flashsale_info":[],"sales":11};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Product was out of stock.
Product is unavailable.
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
const customText = "free shipping Estimated arrival\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}