What are ghost numbers?
Ghost numbers are phone numbers that simply divert calls onto a different telephone number.
We can provide ghost numbers for any UK town or city and divert the calls onto your existing mobile or landline.
Ghost numbers are useful for businesses that currently only advertise a mobile number. Instead of paying to have an expensive landline installed in your office, the ghost number simply routes the call to your mobile.
People like to buy local. If your business provides services in your local area, then you would benefit from advertising a local number for your town or city. Just advertising a mobile number can give the impression that you could here today, gone tomorrow. Plus, you don’t appear local with just a mobile number, you could be from anywhere.
So, whether you are a plumber, carpenter, social media expert or any local business – you need to consider buying a ghost number to divert calls to your mobile.
Step 1: What Type Of Service Do You Need?
Receive Calls
Our Classic Virtual Numbers
Professional Business Phone Numbers.
Simple, Affordable, Effective
- Over 10 Completely Free Features
- Send Calls To Your Mobiles & Landlines
- 24/7 Management With Our Free Control Panel & App
Selected
Make & Receive Calls
Our Complete VoIP System
Your Complete Business Phone System
That Goes Above & Beyond
- All Our Classic Free Virtual Number Features
- Fully Dedicated VoIP App to Make Outbound Calls From Your Number
- Transfer Calls, On Hold Music, Conference Calling - All Included Free
Select
The ISDN Switch Off Solution
Step 2: Select Your Tariff
Choose A Tariff With The Amount Of Minutes You Need Each Month Per User
Startup
£5.78
Per User /Month +VAT
- Divert To Landlines & Mobiles
- 2000 Inclusive Diversion Mins
- 1.16ppm To Mobiles After Inclusive
- 1.16ppm To Landlines After Inclusive
- 1.16 inclusive outbound mins
- 1 Month Rolling Contract
- Free Setup & Connection
- No Hidden Costs
- Price Per User
Includes Our Supercharged FREE Features
PLUS These Premium Features
- Dedicated VoIP App With
- Outbound Calling
- Call Transfer
- On Hold Music
- Conference Calling
- On Demand Audio Saving
Select A Free Service
- Online Number Management
- Welcome Announcement
- Hunt Groups
- Call Statistics
- Timed Diverts
- Voicemail
- Missed Call Alerts
- Blacklist
- Mobile App
- Anonymous Call Rejection
- Holiday Settings
- WhatsApp Business
- Number Porting
- Fax To Email
- International Call Blocking
Online Number Management
The online number management control panel allows changes to be made to numbers instantly 24/7. The control panel allows you to modify numbers with ease, as well as for viewing call statistic reports, all at a click of a button.
Welcome Announcement
The welcome announcement service simply answers the call by playing a pre-made announcement to the caller before diverting the call to you. This could be to give that critical first impression to your callers, or to give a required legal disclaimer for companies that are regulated by the Financial Services Authority for example. We can also provide professionally made voiceovers.
Hunt Groups
Hunt groups allow calls to be diverted to multiple landline and mobile numbers when engaged or not answered. An example of this would be to have calls try your office number first, with calls trying your mobile if the office number is engaged or unanswered.
Call Statistics
Our online call statistics allow you to view a range of reports for your numbers. This enables you to manage your staffing resources by being able to identify your busiest days and times of the day in which you receive the most calls.
Timed Diverts
Timed diverts allow calls to be diverted to different landlines, mobiles or voicemail dependent on the day and time of day. For example a plumber may have calls diverted to his office during the day and to his mobile at night to provide his out of hours service.
Voicemail
The voicemail can answer your calls for you when your line is engaged and not answered. By using timed diverts, you can also have voicemail at certain times, for example when you are closed. Messages left by callers are then emailed to one or more email addresses as a .wav sound file. Voicemail messages can also be listened to both online and by dialling in to the voicemail box.
Missed Call Alerts
Missed call alerts can be set to email you details of calls you have missed, perhaps because your line was engaged or the call went unanswered. The alert would also include the caller’s number, provided that the caller didn’t withhold their number.
Blacklist
Stop unwanted calls by adding numbers to your Blacklist. When a number on your Blacklist calls you, they would be played a message advising the caller that calls are not currently being accepted from this number.
Mobile App
The Tamar Control Panel app lets your manage your telephone numbers from anywhere. Receive push notifications to your phone when you miss a call, listen to your voicemails and see real time usage.
Anonymous Call Rejection
Anonymouse call rejection allows you to block telephone numbers from calling you. This allows you to focus on important business calls and ignore spam/nuisance calls.
Holiday Settings
Divert calls to other numbers or voicemail in advance when you"re on holiday. Your numbers will automatically be diverted when you want them to.
WhatsApp Business
Our telephone numbers are compatible with WhatsApp Business, this allows you to present your virtual number when making outbound calls using WhatsApp Business.
Number Porting
Numbers can be ported into Tamar Telecom free of charge. Fill in the form and we"ll do the rest for you.
Fax To Email
Receive faxes to your telephone number and have them emailed to you or viewed as a PDF via the control panel or our app.
International Call Blocking
Block international numbers from calling your telephone numbers.
01234 567890 - FREE
Tell us which number you'd like to divert your calls to. You can divert to multiple telephone numbers once setup, using your free Control Panel & App.
Please enter a destination number
Registered Company Number search
Please enter your company name:
Please add a number to your basket
Now just 99p/month For the first 3 months
New customers only
Growing Business
£9.25
Per User /Month +VAT
- Divert To Landlines & Mobiles
- 4000 Inclusive Diversion Mins
- 1.16ppm To Mobiles After Inclusive
- 1.16ppm To Landlines After Inclusive
- 1.16 inclusive outbound mins
- 1 Month Rolling Contract
- Free Setup & Connection
- No Hidden Costs
- Price Per User
Includes Our Supercharged FREE Features
PLUS These Premium Features
- Dedicated VoIP App With
- Outbound Calling
- Call Transfer
- On Hold Music
- Conference Calling
- On Demand Audio Saving
Select A Free Service
- Online Number Management
- Welcome Announcement
- Hunt Groups
- Call Statistics
- Timed Diverts
- Voicemail
- Missed Call Alerts
- Blacklist
- Mobile App
- Anonymous Call Rejection
- Holiday Settings
- WhatsApp Business
- Number Porting
- Fax To Email
- International Call Blocking
Online Number Management
The online number management control panel allows changes to be made to numbers instantly 24/7. The control panel allows you to modify numbers with ease, as well as for viewing call statistic reports, all at a click of a button.
Welcome Announcement
The welcome announcement service simply answers the call by playing a pre-made announcement to the caller before diverting the call to you. This could be to give that critical first impression to your callers, or to give a required legal disclaimer for companies that are regulated by the Financial Services Authority for example. We can also provide professionally made voiceovers.
Hunt Groups
Hunt groups allow calls to be diverted to multiple landline and mobile numbers when engaged or not answered. An example of this would be to have calls try your office number first, with calls trying your mobile if the office number is engaged or unanswered.
Call Statistics
Our online call statistics allow you to view a range of reports for your numbers. This enables you to manage your staffing resources by being able to identify your busiest days and times of the day in which you receive the most calls.
Timed Diverts
Timed diverts allow calls to be diverted to different landlines, mobiles or voicemail dependent on the day and time of day. For example a plumber may have calls diverted to his office during the day and to his mobile at night to provide his out of hours service.
Voicemail
The voicemail can answer your calls for you when your line is engaged and not answered. By using timed diverts, you can also have voicemail at certain times, for example when you are closed. Messages left by callers are then emailed to one or more email addresses as a .wav sound file. Voicemail messages can also be listened to both online and by dialling in to the voicemail box.
Missed Call Alerts
Missed call alerts can be set to email you details of calls you have missed, perhaps because your line was engaged or the call went unanswered. The alert would also include the caller’s number, provided that the caller didn’t withhold their number.
Blacklist
Stop unwanted calls by adding numbers to your Blacklist. When a number on your Blacklist calls you, they would be played a message advising the caller that calls are not currently being accepted from this number.
Mobile App
The Tamar Control Panel app lets your manage your telephone numbers from anywhere. Receive push notifications to your phone when you miss a call, listen to your voicemails and see real time usage.
Anonymous Call Rejection
Anonymouse call rejection allows you to block telephone numbers from calling you. This allows you to focus on important business calls and ignore spam/nuisance calls.
Holiday Settings
Divert calls to other numbers or voicemail in advance when you"re on holiday. Your numbers will automatically be diverted when you want them to.
WhatsApp Business
Our telephone numbers are compatible with WhatsApp Business, this allows you to present your virtual number when making outbound calls using WhatsApp Business.
Number Porting
Numbers can be ported into Tamar Telecom free of charge. Fill in the form and we"ll do the rest for you.
Fax To Email
Receive faxes to your telephone number and have them emailed to you or viewed as a PDF via the control panel or our app.
International Call Blocking
Block international numbers from calling your telephone numbers.
01234 567890 - FREE
Tell us which number you'd like to divert your calls to. You can divert to multiple telephone numbers once setup, using your free Control Panel & App.
Please enter a destination number
Registered Company Number search
Please enter your company name:
Please add a number to your basket
Unlimited
£22
Per User /Month +VAT
- Unlimited* Inbound Mins To Mobile App
- Unlimited* Diversion Mins
- Unlimited* Outbound Mins
- 1 Month Rolling Contract
- Free Setup & Connection
- No Hidden Costs
- Price Per User
Includes Our Supercharged FREE Features
PLUS These Premium Features
- Dedicated VoIP App With
- Outbound Calling
- Call Transfer
- On Hold Music
- Conference Calling
- On Demand Audio Saving
- Call Whisper
- Virtual Switchboard
- Tamar Voice AI
Select A Free Service
- Online Number Management
- Welcome Announcement
- Hunt Groups
- Call Statistics
- Timed Diverts
- Voicemail
- Missed Call Alerts
- Blacklist
- Mobile App
- Anonymous Call Rejection
- Holiday Settings
- WhatsApp Business
- Number Porting
- Fax To Email
- International Call Blocking
Online Number Management
The online number management control panel allows changes to be made to numbers instantly 24/7. The control panel allows you to modify numbers with ease, as well as for viewing call statistic reports, all at a click of a button.
Welcome Announcement
The welcome announcement service simply answers the call by playing a pre-made announcement to the caller before diverting the call to you. This could be to give that critical first impression to your callers, or to give a required legal disclaimer for companies that are regulated by the Financial Services Authority for example. We can also provide professionally made voiceovers.
Hunt Groups
Hunt groups allow calls to be diverted to multiple landline and mobile numbers when engaged or not answered. An example of this would be to have calls try your office number first, with calls trying your mobile if the office number is engaged or unanswered.
Call Statistics
Our online call statistics allow you to view a range of reports for your numbers. This enables you to manage your staffing resources by being able to identify your busiest days and times of the day in which you receive the most calls.
Timed Diverts
Timed diverts allow calls to be diverted to different landlines, mobiles or voicemail dependent on the day and time of day. For example a plumber may have calls diverted to his office during the day and to his mobile at night to provide his out of hours service.
Voicemail
The voicemail can answer your calls for you when your line is engaged and not answered. By using timed diverts, you can also have voicemail at certain times, for example when you are closed. Messages left by callers are then emailed to one or more email addresses as a .wav sound file. Voicemail messages can also be listened to both online and by dialling in to the voicemail box.
Missed Call Alerts
Missed call alerts can be set to email you details of calls you have missed, perhaps because your line was engaged or the call went unanswered. The alert would also include the caller’s number, provided that the caller didn’t withhold their number.
Blacklist
Stop unwanted calls by adding numbers to your Blacklist. When a number on your Blacklist calls you, they would be played a message advising the caller that calls are not currently being accepted from this number.
Mobile App
The Tamar Control Panel app lets your manage your telephone numbers from anywhere. Receive push notifications to your phone when you miss a call, listen to your voicemails and see real time usage.
Anonymous Call Rejection
Anonymouse call rejection allows you to block telephone numbers from calling you. This allows you to focus on important business calls and ignore spam/nuisance calls.
Holiday Settings
Divert calls to other numbers or voicemail in advance when you"re on holiday. Your numbers will automatically be diverted when you want them to.
WhatsApp Business
Our telephone numbers are compatible with WhatsApp Business, this allows you to present your virtual number when making outbound calls using WhatsApp Business.
Number Porting
Numbers can be ported into Tamar Telecom free of charge. Fill in the form and we"ll do the rest for you.
Fax To Email
Receive faxes to your telephone number and have them emailed to you or viewed as a PDF via the control panel or our app.
International Call Blocking
Block international numbers from calling your telephone numbers.
01234 567890 - FREE
Tell us which number you'd like to divert your calls to. You can divert to multiple telephone numbers once setup, using your free Control Panel & App.
Please enter a destination number
Registered Company Number search
Please enter your company name:
Please add a number to your basket
Step 3: Tailor Your Number
Our Premium Features Help Your Business Stand Out
Skip
Call Whisper
Incoming calls will play a custom audio message letting you know it's a business call from your Tamar Number. You can then answer the call professionally or route to voicemail or another member of your team.
Close
Call Whisper
"Incoming Business Call"
Whats Included
- Call Whisper
- Caller Announcement
- Press 1 To Accept A Call
£3.48 Per Month +VAT
Virtual Switchboard
A professional phone menu for your business. Up to 10 menu options of your choice with each option diverting to 3 additional destinations. Includes Call Whisper for each option, e.g., "Incoming call for Sales"
Close
Virtual Switchboard
"Press 1 For Sales, 2 For Accounts..."
Whats Included
- Virtual Switchboard
- Up To 10 Menu Options
- Free Professional Greeting
£5.78 Per Month +VAT
Tamar Connect
Our Tamar Connect App allows you to keep up that professional business image by displaying your Tamar Number whenever you call a customer. You can also make outgoing calls and place customers on hold with holdmusic.
Close
Step 4: Pick Your Perfect Number
Choose From 1000's Of Professional Business Phone Numbers
Memorable Numbers (All)
- All
- Bronze
- Silver
- Gold
- Platinum
Review Order & Connect
You're Just A Few Clicks Away From Your New Number!
Your Numbers
We Accept
- Total Monthly Rental: £0.00
- Connection Charges: £0.00
- Sub Total: £0.00
- VAT: £0.00
Due Today: £0.00
New Customer
Existing Customer
Lookup Registered Company Number
Registered Company Number search
Please enter your company name:
Enter address manually
Your session has timed out, please log back in.
Need Help? Our team are happy to answer any questions, give us a call on 0800 772 0000
Frequently Asked Questions
- Can I divert my business number to multiple telephone numbers?
+
- Yes, when placing your order we just need a single destination number, this is so that we can test your number once setup. We call every customer to make sure your service is working exactly how you want. You can either ask our team to setup additional destination numbers for you, or use our control panel/app.
- Can I keep my existing phone number?
+
- Yes, call us on 0800 772 0000 or email cs@tamartelecommunications.co.uk to transfer your number.
- This seems too good to be true, whats the catch?
+
- No catch, just great service... with over 14,000 happy customers, check out our Trust Pilot reviews!
- Where can I find your fair usage policy?
+
- Our fair usage policy can be found here
01234 567890 - FREE
Tell us which number you'd like to divert your calls to. You can divert to multiple telephone numbers once setup, using your free Control Panel & App.
Please enter a destination number
Please add a number to your basket
Processing...
"); $('html, body').animate({ scrollTop: $(".new-account").offset().top }, 500); var sid = ''; $.get('/wp-content/plugins/tamar/collect.php', { session: sid, action: 'save_incomplete' }, function(data) {}); } if (sub == 1) { var sid = ''; $.get('/wp-content/plugins/tamar/collect.php', { session: sid, action: 'save_complete' }, function(data) {}); firstName = $(".full-name").val(); lastName = $(".last-name").val(); var postcode = $(".manual-postcode").val(); var address = $(".manual-address").val(); var city = $(".manual-city").val(); // Save Data //var uuid = ''; if (firstName == '') { firstName = 'Unknown'; } if (lastName == '') { lastName = 'Unknown'; } if (city == '') { city = 'Unknown'; } if (postcode == '') { postcode = 'Unknown'; } if (postcode == '') { postcode = ''; } if ($(".due-today").html() != '0.00') { // SAVE MARKETING PREFERENCES if ($('.marketing').is(':checked')) { $.post("https://tamartelecommunications.us18.list-manage.com/subscribe/post?u=904730910d21e572cebefa534&id=b279cf4ca1", { 'EMAIL': $(".email-address").val(), 'FNAME': firstName, 'LNAME': lastName, 'gdpr[91646]': 'Y', 'gdpr[91650]': 'Y', 'gdpr[91654]': 'Y', 'gdpr[91658]': 'Y' }, function(returnedData) {}); } var cost = $(".due-today").html(); //var cost = '1.00'; $.get("/wp-content/plugins/tamar/sagepay/index.php", { uuid: uuid, amount: cost, first_name: firstName, last_name: lastName, city: city, postcode: postcode, address: address }, function(data, status) { $(".ordernow").addClass("load").val("Saving..."); $(".crypt").val(data.trim()); function sleep(time) { return new Promise((resolve) => setTimeout(resolve, time)); } sleep(3000).then(() => { $("#sagepay").submit(); }); }); } else { $("#empty-basket").modal('show'); } } }); function pro_rata_calc(pro_rata_amount) { days_this_month = '31'; days_left_this_month = parseFloat('28') + 1; daily_cost = pro_rata_amount / days_this_month; pro_rata_final = daily_cost * days_left_this_month; pro_rata_final = pro_rata_final.toFixed(2);return (0); } function update_basket() { // DEFAULTS var mrc = parseFloat(0); var one_off_cost = parseFloat(0); var addons = parseFloat(0); var part_month = parseFloat(0); var sub_total = parseFloat(0); var vat = parseFloat(0); var total = parseFloat(0); var uuid_update = '66ae44c6cdf8f' //$.get('/wp-content/plugins/tamar/recalc.php', { uuid: uuid_update }, function(data) { // console.log(data); //}); function pro_rata_calc(pro_rata_amount) { days_this_month = '31'; days_left_this_month = parseFloat('28') + 1; daily_cost = pro_rata_amount / days_this_month; pro_rata_final = daily_cost * days_left_this_month; pro_rata_final = pro_rata_final.toFixed(2);return (0); } if ($(".number-item:not('.gone')").length > 0) { $(".empty-basket").hide(); } else { $(".empty-basket").show(); } // LOOP OVER BASKET $(".number-item:not('.gone')").each(function(index) { // MRC mrc = parseFloat(mrc) + parseFloat($(".basket_mrc", this).html()); part_month = parseFloat(part_month) + parseFloat(pro_rata_calc(parseFloat($(".basket_mrc", this).html()))); // ONE OFF COSTS if ($(".basket_one_off", this).html() != 'FREE') { one_off_cost = parseFloat(one_off_cost) + parseFloat($(".basket_one_off", this).html().substring(1)); } // ADDONS // CALL WHISPER if ($(".basket_call_whisper", this).html() == 'Call Whisper added') { addons = parseFloat(addons) + parseFloat('3.48'); part_month = parseFloat(part_month) + parseFloat(pro_rata_calc(parseFloat('3.48'))); } // VIRTUAL SWITCHBOARD if ($(".basket_virtual_switchboard", this).html() == 'Virtual Switchboard added') { addons = parseFloat(addons) + parseFloat('5.78'); part_month = parseFloat(part_month) + parseFloat(pro_rata_calc(parseFloat('5.78'))); } // TAMAR CONNECT if ($(".basket_tamar_connect", this).html() == 'Tamar Connect added') { addons = parseFloat(addons) + parseFloat('3.47'); part_month = parseFloat(part_month) + parseFloat(pro_rata_calc(parseFloat('3.47'))); } // call recording if ($(".basket_call_recording", this).html() == 'Call recording added') { addons = parseFloat(addons) + parseFloat('6.99'); part_month = parseFloat(part_month) + parseFloat(pro_rata_calc(parseFloat('6.99'))); } }); // SUB TOTAL sub_total = mrc + one_off_cost + addons + part_month; sub_total_no_pro_rata = mrc + one_off_cost + addons; // VAT vat = sub_total * 0.2; vat_no_pro_rata = sub_total_no_pro_rata * 0.2; // TOTAL total = sub_total + vat; total_no_pro_rata = sub_total_no_pro_rata + vat_no_pro_rata; m = parseFloat(addons) + parseFloat(mrc); $(".monthly").html(m.toFixed(2)); $(".connection").html(one_off_cost.toFixed(2)); $(".part-month").html(part_month.toFixed(2)); $(".sub-total").html(sub_total.toFixed(2)); $(".vat").html(vat.toFixed(2)); $(".due-today").html(total.toFixed(2)); $(".due-today-loggedin").html(total_no_pro_rata.toFixed(2)); var basket_numbers = $('.connect-data .number-item:not(.gone)').length if (basket_numbers > 0) { $(".connect-number").removeClass("disabled2"); } else { $(".connect-number").addClass("disabled2"); } //$.get('/wp-content/plugins/tamar/recalc.php', { uuid: uuid_update }, function(data) { // console.log(data); //}); } update_basket(); $('dd,.memorable-numbers').hide(); $('dt').click(function() { var toggle = $(this).nextUntil('dt'); toggle.slideToggle(); $('dd').not(toggle).slideUp(); }); // SHOPPING CART $('.postcode').select2({ width: '100%', minimumInputLength: 2, placeholder: "Find Your Address", language: { inputTooShort: function() { return ''; } }, ajax: { url: function(params) { if (params.term) return 'https://api.getaddress.io/suggest/' + params.term; return ''; }, dataType: 'json', data: function(params) { var query = { 'api-key': 'POxInsXbaEW8Rgv8aOCuFg32623', 'all': 'true' }; return query; }, processResults: function(data) { var results = []; if (data.suggestions && data.suggestions.length > 0) { for (var i = 0; i < data.suggestions.length; i++) { var suggestion = data.suggestions[i]; var result = { id: suggestion.id, text: suggestion.address } results.push(result); } } return { results: results }; } } }); $('.postcode').on('select2:select', function(e) { var data = e.params.data; var id = data.id; $.get('https://api.getaddress.io/get/' + id, { 'api-key': 'POxInsXbaEW8Rgv8aOCuFg32623' }, function(address, status) { $('.new-customer .select2-container--default .select2-selection--single').removeClass("highlight"); $(".postcode-select").hide(); $(".manual-address").val(address.line_1); $(".manual-city").val(address.district); $(".manual-postcode").val(address.postcode); $(".manual-address2").fadeIn(); }); }); $('.postcode').one('select2:open', function(e) { $('input.select2-search__field').prop('placeholder', 'Enter address or postcode'); }); $('body').on('click', '.disabled', function() { event.stopPropagation(); }); $('body').on('click', '.disabled2', function() { event.preventDefault(); }); $(".new-account").click(function() { event.preventDefault(); $(".new-account").addClass("customer-active"); $(".existing-account").removeClass("customer-active"); $(".new-customer").show(); $(".existing-customer").hide(); }); $(".existing-account").click(function() { event.preventDefault(); $(".existing-account").addClass("customer-active"); $(".new-account").removeClass("customer-active"); $(".existing-customer").show(); $(".new-customer").hide(); }); $(".guess a").click(function() { number_picker($(this).attr("data-number"), 'bronze'); $(".number-picker").val($(this).attr("data-number")); $(".search-type").val($(this).attr("data-number")); }); $(".picker-menu, .number-body, .pagnav").hide(); $(".0300-approved").click(function() { if ($('.0300-approved').is(':checked')) { $(".add-to-basket").attr("disabled", false); } else { $(".add-to-basket").attr("disabled", true); } }); $('body').on('click', '.add-number', function() { var number_type = 'geo'; if (number_type == '0300') { $(".0300-confirm").show(); $(".add-to-basket").attr("disabled", true); } $(".add-to-basket").attr('data-purchase-number', $(this).attr("data-number")).attr('data-purchase-price', $(this).attr("data-price")); $("#select-number-label").html($(this).attr("data-number")); if ($(this).attr("data-price") == '0') { $(".number-label").html("FREE"); } else { $(".number-label").html("£" + $(this).attr("data-price")); } }); $('#myModal').on('shown.bs.modal', function() { if ($(window).width() > 960) { $('.divert-to').focus(); } }) $(document).on("click", ".add-notes", function(event) { event.preventDefault(); $(this).parent().next('.notes').fadeToggle(); }); $(".faq-questions dt").click(function() { if ($(this).html().indexOf('
+
') >= 0) { //$(".plus").replace(/\-/g, "+"); //$(this).html($(this).html().replace(/\+/g, "-")); } else { //$(".plus").replace(/\-/g, "+"); //$(this).html($(this).html().replace(/\-/g, "+")); } }); $(".more-features").click(function() { if ($(".plus-more").html() == '+') { $(".plus-more").html("-"); } else { $(".plus-more").html("+"); } $(".extras").fadeToggle(); }); $(".please-select").click(function() { event.preventDefault(); $('html, body').animate({ scrollTop: $(".step-0").offset().top }, 500); }); $(".skip").click(function() { event.preventDefault(); $('html, body').animate({ scrollTop: $("#step3").offset().top - 50 }, 500); }); $('body').on('click', '.eb', function() { $('html, body').animate({ scrollTop: $("#step1").offset().top }, 500); }); $('body').on('click', '.rebuild', function() { $(".picker-menu,.pagnav,.number-body").fadeIn(); $(".please-select").show(); $(".picker-menu, .number-body,.pagnav").hide(); $('#checkbox1,#checkbox2,#checkbox3,#checkbox4,#checkbox5,#checkbox6,#checkbox7').prop('checked', false); $(".number-confirm").html(""); event.preventDefault(); $("#checkbox1 ~ label,#checkbox2 ~ label, #checkbox3 ~ label").html("Build my mumber"); $("#checkbox4 ~ label,#checkbox5 ~ label, #checkbox6 ~ label, #checkbox7 ~ label").html("Add To Your Number"); $("#checkbox4 ~ label").removeClass("disabled"); $('html, body').animate({ scrollTop: $("#step1").offset().top }, 500); }); $("#checkbox1,#checkbox2,#checkbox3").click(function() { //if ($(window).width() < 960) { $('html, body').animate({ scrollTop: $(".premium").offset().top }, 500); //} });$("#checkbox3").click(function() {$(".tc-addon").hide(); //$('#checkbox4 ~ label, #checkbox5 ~ label').html("Selected");//document.querySelectorAll('.step .premium').forEach(el => el.style.pointerEvents = 'none');//$('#checkbox4 ~ label').html("Included With Tamar VoIP Unlimited").addClass("disabled");//$('#checkbox5 ~ label').html("Included With Tamar VoIP Unlimited").addClass("disabled");if ( $("#outbound").html() == 'Selected'){$('#checkbox4 ~ label').html("Included With Tamar VoIP Unlimited").addClass("disabled");$('#checkbox5 ~ label').html("Included With Tamar VoIP Unlimited").addClass("disabled");} else {$('#checkbox4 ~ label').html("Included With Tamar Unlimited").addClass("disabled");$('#checkbox5 ~ label').html("Included With Tamar Unlimited").addClass("disabled");}//$(".step.premium").hide(); });$("#checkbox1,#checkbox2").click(function() {//$(".tc-addon").show();//$(".step.premium").show();//$('#checkbox4 ~ label, #checkbox5 ~ label').html("Add To Your Number").removeClass("disabled");//document.querySelectorAll('.step .premium').forEach(el => el.style.pointerEvents = 'auto');$('#checkbox4 ~ label').html("Add To Your Number").removeClass("disabled");$('#checkbox5 ~ label').html("Add To Your Number").removeClass("disabled"); }); $('body').on('click', '.remove', function() { // REMOVE NUMBER $(this).parent().parent().fadeOut().addClass("gone"); var uuid_remove = '66ae44c6cdf8f' $.get('/wp-content/plugins/tamar/basket.php', { session: uuid_remove, number: $(this).attr('data-remove'), action: 'DELETE' }, function(data) { }); update_basket(); }); $('body').on('click', '.add-to-basket', function() { if ($(".divert-to").val() != '') { $("[data-number = " + $(this).attr('data-purchase-number') + "]").addClass("disabled greyout"); $('#myModal').modal('toggle'); $(".number-confirm").hide().fadeIn().html("
" + $(this).attr('data-purchase-number') + " has been added to your basket.
Build another number"); $(".error").hide(); var tariff_name = ''; var tariff_mrc = ''; var tariff_pro_rata = '';var number_type = ''; var $boxes = $('.tariffs:checked'); $boxes.each(function() { tariff_name = $(this).attr("data-tariff-name"); tariff_mrc = $(this).attr("data-tariff-mrc");number_type = $(this).attr("data-tariff-type");// TODO here is where the value is obtained tariff_pro_rata = $(this).attr("data-pro-rata"); }); $(".connect-number").removeClass("disabled2"); var call_whisper = '0'; var virtual_switchboard = '0'; var tamar_connect = '0'; var call_recording = '0'; var addons = ''; // ADDONS if ($('#checkbox4').is(':checked')) { call_whisper = '1'; addons += '
'; tariff_pro_rata = parseFloat(tariff_pro_rata) + parseFloat(pro_rata_calc(3.48)); } if ($('#checkbox5').is(':checked')) { virtual_switchboard = '1'; addons += '
'; tariff_pro_rata = parseFloat(tariff_pro_rata) + parseFloat(pro_rata_calc(5.78)); } if ($('#checkbox6').is(':checked')) { tamar_connect = '1'; addons += '
'; tariff_pro_rata = parseFloat(tariff_pro_rata) + parseFloat(pro_rata_calc(3.47)); } if ($('#checkbox7').is(':checked')) { call_recording = '1'; addons += '
'; tariff_pro_rata = parseFloat(tariff_pro_rata) + parseFloat(pro_rata_calc(6.99)); } if ($(this).attr("data-purchase-price") == '0') { var one_off = "FREE"; } else { var one_off = "£" + $(this).attr("data-purchase-price"); }// locked value needs to be correctedvar lockedValue = parseFloat(tariff_pro_rata).toFixed(2);if(lockedValue == 0.00){lockedValue = "";} lockedValue = ""; $(".connect-data").append("
" + $(this).attr('data-purchase-number') + "
- Tariff: £" + tariff_mrc + " Per Month +VAT
- Term: 1 month rolling
- One off cost: " + one_off + " " + addons + "" + lockedValue + "
- Divert calls to: " + $(".divert-to").val() + "
"); $('#checkbox1,#checkbox2,#checkbox3,#checkbox4,#checkbox5,#checkbox6,#checkbox7').prop('checked', false); $('#checkbox1 ~ label, #checkbox2 ~ label, #checkbox3 ~ label').html("Build My Number"); $('#checkbox4 ~ label, #checkbox5 ~ label, #checkbox6 ~ label, #checkbox7 ~ label').html("Add To Your Number"); $('#checkbox4 ~ label').removeClass("disabled"); // ADD TO BASKET console.log(''); var tmp_session = ''; if (tmp_session != '') { $.get('/wp-content/plugins/tamar/basket.php', { session: '', tariff: tariff_name, number: $(this).attr('data-purchase-number'), action: 'INSERT', destination: $(".divert-to").val(), price: $(this).attr('data-purchase-price'), mrc: tariff_mrc, type: number_type, cw: call_whisper, vs: virtual_switchboard, tc: tamar_connect, cr: call_recording }, function(data) { }); } else { $.get('/wp-content/plugins/tamar/basket.php', { session: '66ae44c6cdf8f', tariff: tariff_name, number: $(this).attr('data-purchase-number'), action: 'INSERT', destination: $(".divert-to").val(), price: $(this).attr('data-purchase-price'), mrc: tariff_mrc,type: number_type, cw: call_whisper, vs: virtual_switchboard, tc: tamar_connect, cr: call_recording }, function(data) { }); } $(".picker-menu,.pagnav,.number-body").fadeOut(); } else { $(".error").show(); } update_basket(); }); $('.manual-company').keypress(function(event) { var keycode = (event.keyCode ? event.keyCode : event.which); if (keycode == '13') { $(".manual-search").click(); } }); if ($('.company-type :selected').text() != 'LTD / PLC / LLP' && $('.company-type :selected').text() != 'Registered Charity') { $(".companies-house").fadeOut(); $(".company-number-div").hide(); } function company_lookup(company) { if (company != '') { $.get("/wp-content/plugins/tamar/ch.php?company_name=" + company, function(data, status) { $(".ch-results").html(""); $.each(JSON.parse(data), function(key, value) { $(".ch-results").append("" + value + ""); }); }); } } $('body').on('click', '.manual-search', function() { company_lookup($(".manual-company").val()); }); $('body').on('click', '.ch-results a', function() { event.preventDefault(); var cname = $(this).attr("data-name").split(' - '); $(".company-name").val(cname[0].replace('', '')); $(".company-number").val($(this).attr("data-number")); $(".company-name, .company-type, .company-number").removeClass("highlight"); $('#companiesHouse').modal('toggle'); //companiesHouse.toggle(); }); $('.company-type').change(function() { if ($('.company-type :selected').text() == 'LTD / PLC / LLP' || $('.company-type :selected').text() == 'Registered Charity') { $(".company-number-div").fadeIn(); if ($('.company-type').find(":selected").val() == 'Registered Charity') { $(".company-number").attr("placeholder", "Registered Charity Number"); $(".label-company-name").text("Registered Charity Number"); console.log("Changed to charity"); $(".companies-house").fadeOut(); } else { $(".company-number").attr("placeholder", "Registered Company Number"); $(".company-number").attr("placeholder", "Registered Company Number"); $(".label-company-name").text("Registered Company Number"); $(".companies-house").fadeIn(); } } else { $(".company-number-div").fadeOut(); $(".companies-house").fadeOut(); } }); $(".companies-house").click(function() { $(".manual-company").val($(".company-name").val()); company_lookup($(".company-name").val()); }); function formatState(state) { if (!state.id) { return state.text; } var $state = $('' + state.text + ''); return $state; }; $(".number-picker").select2({ templateResult: formatState }); $('.number-picker').one('select2:open', function(e) { $('input.select2-search__field').prop('placeholder', 'Location or area code'); }); $(".disabled").click(function() { event.preventDefault(); }); // TARIFF CHECKBOXES $("#checkbox1").click(function() { var num_pick = 'geo'; if (num_pick == '0300') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0300"); number_picker('0300', 'bronze'); } if (num_pick == '0333') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0333"); number_picker('0333', 'bronze'); } if (num_pick == '0800') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0800"); number_picker('0800', 'bronze'); } $('#checkbox2,#checkbox3').prop('checked', false); $('#checkbox1 ~ label').html("Tariff Selected"); $('#checkbox2 ~ label, #checkbox3 ~ label').html("Build My Number"); $(".picker-menu, .number-body,.pagnav,.mem").show(); $(".please-select").hide(); if ($('#checkbox1 ~ label').html() == 'Tariff Selected' && !$('#checkbox1').is(":checked")) { $('#checkbox1 ~ label').html("Build My Number"); } if ((num_pick == '0300' || num_pick == '0333' || num_pick == '0800') && $('.number-picker').is(":visible")) { $('.number-picker').select2('destroy').hide(); } }); $("#checkbox2").click(function() { var num_pick = 'geo'; if (num_pick == '0300') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0300"); number_picker('0300', 'bronze'); } if (num_pick == '0333') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0333"); number_picker('0333', 'bronze'); } if (num_pick == '0800') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0800"); number_picker('0800', 'bronze'); } $('#checkbox1,#checkbox3').prop('checked', false); $('#checkbox2 ~ label').html("Tariff Selected"); $('#checkbox1 ~ label, #checkbox3 ~ label').html("Build My Number"); $(".picker-menu, .number-body, .pagnav,.mem").show(); $(".please-select").hide(); if ($('#checkbox2 ~ label').html() == 'Tariff Selected' && !$('#checkbox2').is(":checked")) { $('#checkbox2 ~ label').html("Build My Number"); } if ((num_pick == '0300' || num_pick == '0333' || num_pick == '0800') && $('.number-picker').is(":visible")) { $('.number-picker').select2('destroy').hide(); } }); $("#checkbox3").click(function() { var num_pick = 'geo'; if (num_pick == '0300') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0300"); number_picker('0300', 'bronze'); } if (num_pick == '0333') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0333"); number_picker('0333', 'bronze'); } if (num_pick == '0800') { $('.picker-search').hide(); $('.mem').addClass("memover"); $('.search-type').val("0800"); number_picker('0800', 'bronze'); } $('#checkbox1,#checkbox2').prop('checked', false); $('#checkbox3 ~ label').html("Tariff Selected"); $('#checkbox1 ~ label, #checkbox2 ~ label').html("Build My Number"); $(".picker-menu, .number-body,.pagnav,.mem").show(); $(".please-select").hide(); if ($('#checkbox3 ~ label').html() == 'Tariff Selected' && !$('#checkbox3').is(":checked")) { $('#checkbox3 ~ label').html("Build My Number"); } if ((num_pick == '0300' || num_pick == '0333' || num_pick == '0800') && $('.number-picker').is(":visible")) { $('.number-picker').select2('destroy').hide(); } }); $("#checkbox4").click(function() { var details = $("#checkbox4 ~ label").html(); if (details != 'Included With Virtual Switchboard') { if (details == "Add To Your Number") { $('#checkbox4 ~ label').html("Selected").addClass("addon-active"); } else { $('#checkbox4 ~ label').html("Add To Your Number").removeClass("disabled");$('#checkbox4 ~ label').html("Add To Your Number").removeClass("disabled addon-active"); } } else { event.preventDefault(); } }); $("#checkbox5").click(function() { var details = $("#checkbox5 ~ label").html(); if (details == "Add To Your Number") { $('#checkbox5 ~ label').html("Selected").addClass("addon-active"); $('#checkbox4 ~ label').html("Included With Virtual Switchboard").addClass("disabled"); $('#checkbox4').prop('checked', false); } else { $('#checkbox5 ~ label').html("Add To Your Number").removeClass("addon-active"); $('#checkbox4 ~ label').html("Add To Your Number").removeClass("disabled addon-active"); } }); $("#checkbox6").click(function() { var details = $("#checkbox6 ~ label").html(); if (details == "Add To Your Number") { $('#checkbox6 ~ label').html("Selected"); } else { $('#checkbox6 ~ label').html("Add To Your Number"); } }); $("#checkbox7").click(function() { var details = $("#checkbox7 ~ label").html(); if (details == "Add To Your Number") { $('#checkbox7 ~ label').html("Selected"); } else { $('#checkbox7 ~ label').html("Add To Your Number"); } }); function number_picker(item, memorable) { $(".picknum-body").css('opacity', '0'); $(".picker-menu, .number-body-error").hide(); $(".loading").show(); $('.picknum ul, .pagnav').html(""); $.ajax({ url: "/wp-content/plugins/tamar/number-search.php/?prefix=" + item + "&sesh=", type: 'GET', dataType: 'json', success: function(res) { $.each(res, function(key, data) { $.each(data, function(index, data) { var tel_number = telephone_number(data.number); if (data.price == 0) { data_amount = 'FREE'; } else { data_amount = '£' + data.price; } if (memorable == 'all') { if (data.price == 0) { $(".picknum ul").append('