var products = []; products[214] = ["Paper Towels", 15.99, "My Cloud Security Partner", "Made of biodegradable and recyclable eco-friendly material, the premium-quality disposable paper towels with exclusive absorbency pockets ensure effective single sheet usage.", "", 13.91]; products[215] = ["Sanitizer", 9.99, "My Cloud Security Partner", "Formulated with the antimicrobial property of select natural ingredients, the advanced moisturizing hand sanitizer maintains total hand hygiene without letting the skin dry out.", "", 8.69]; products[216] = ["Printer Paper", 59.99, "My Cloud Security Partner", "Enhanced with faster drying technology, the high-quality eco-friendly super-fine white printer paper with precision cut edges ensures jam-free usage and has been styled for the genext.", "", 52.19]; products[217] = ["Note Pads", 19.99, "My Cloud Security Partner", "The sleek and stylish notepad with perforated sheets and a snag-free top coil is ideal for everyday shopping lists, meetings, memos and notes.", "", 17.39]; products[218] = ["Legal Pads", 39.99, "My Cloud Security Partner", "The smooth canary toned legal pad with adequate line spacing is perfect to keep your regular notes organized. The perforated top supports easy removal of sheets as and when needed. ", "", 34.79]; products[219] = ["Laptop Case", 49.99, "My Cloud Security Partner", "Made of soft puffy fabric, the ultra slim, cushioned, lightweight laptop case with top loading access protects your device from scratches and shock.", "", 43.49]; products[220] = ["Laptop Locks", 29.99, "My Cloud Security Partner", "The keyless 4 dial combination theft deterrent sturdy laptop lock cable with 10,000 different combination codes (can be personalised) prevents your laptop from being tampered with or stolen.", "", 26.09]; products[221] = ["Security Cameras", 199.99, "My Cloud Security Partner", "The easy-to-install smart security camera with motion detection & infrared night vision feature is just what you need to keep a check on any untoward incident in your office premises.", "", 173.99]; products[222] = ["Paper Shredder", 99.99, "My Cloud Security Partner", "The automatic heavy-duty advanced paper shredder with optimum run-time and minimal cool down cycle determines when the waste paper bin is full and performs its task perfectly.", "", 86.99]; products[223] = ["Alarm Kit", 59.99, "My Cloud Security Partner", "The easy-to-operate alarm kit with wireless sensors, remote controls, RFID tags, cellular communicator and a built in loudspeaker for siren & 2 way talking makes you aware of trespassers in restricted areas.", "", 52.19]; products[224] = ["Lap Top Locks ", 10.99, "My Cloud Security Partner", "Our hottest selling stringer for men is comfortable, allows superior range of motion while letting you show off those pumps! Perfect for gyms, long runs or lounging at the beach, these are a must have in your workout wardrobe.

Available in cool white, it's perfect for all-day wear.", "", 9.59]; products[225] = ["Malware Protection", 39.99, "My Cloud Security Partner", "Malware Protection is a lightweight software that offers real-time protection by detecting & neutralizing impending & existing system threats which include viruses, malware, Trojans, etc, which supports a boost in system efficiency.
Operating System
and Processor
Windows 10 except Mobile and IoT Edition (32 or 64-bit); Windows 8/8.1 except RT and Starter Edition (32 or 64-bit); Windows 7 SP1 with Convenient Rollup Update, any Edition (32 or 64-bit)
Windows fully compatible PC with Intel Pentium 4 / AMD Athlon 64 processor or above (must support SSE2 instructions); ARM-based devices are not supported
System Memory1 GB RAM or above
System Storage2 GB free space on the hard disk
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 1024 x 768 pixels
", "", 34.79]; products[226] = ["Disk Cleaning Utility", 69.99, "My Cloud Security Partner", "Disk Cleaning Utility scans the system, gets rid of unnecessary files and optimizes system performance with an enhanced clean-up & tune-up mechanism. Scans and removes malware hidden on the drive and frees up more space for faster system performance.
Operating System
and Processor
Microsoft Windows 7 SP1 with latest Windows Updates, Microsoft Windows 8, Microsoft Windows 8.1, Microsoft Windows 10, Microsoft Windows Home Server 2011 64 bit. Intel or AMD x86 or x64 processor.
System Memory1 GB RAM or above
System Storage2 GB free space on the hard disk
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 1024 x 768 pixels
", "", 60.89]; products[227] = ["Secure Root", 29.99, "My Cloud Security Partner", "Secure Root is an advanced software that may help maximize the speed and potential of your system by enabling access to the root directories and expediting the process of disabling preinstalled bloatware applications.
Operating System
and Processor
Windows Server 2012 or later, MySQL 5.7.29 or newer or Microsoft SQL Server 2017 or newer, Windows Server 2012 requires April 2014 update rollup, Security Management Center required to monitor computers, 64 bit version of Visual C++. EEI Agent requires Windows 7 SP1 or newer or macOS 10.12 or newer.
System Memory24 GB RAM or above
System Storage500 GB free space on the hard disk. Disk IOPS 1000 or higher.
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 1024 x 768 pixels
", "", 26.09]; products[228] = ["Privacy Shield Pro", 14.99, "My Cloud Security Partner", "Privacy Shield Pro is an auotmated solution that runs on a pre-set schedule and takes care of your privacy by wiping out your digital footprint, protecting you from phishing attacks, and securing your digital identity.
Operating System
and Processor
Microsoft Windows 7 SP1 with latest updates, Microsoft Windows 8, Microsoft Windows 8.1, Microsoft Windows 10, Microsoft Windows Home Server 2011 64 bit. 64 Bit Intel or AMD processor.
System Memory1 GB RAM or above
System Storage2 GB free space on the hard disk
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 1024 x 768 pixels
", "", 13.04]; products[229] = ["Password Protector", 19.99, "My Cloud Security Partner", "Password Protector is a secure central password storage application which preserves your vital information from privacy breach or data leaks, while maintaining a flawless register of all your passwords.
Operating System
and Processor
Microsoft XP, Microsoft Windows Vista, Microsoft Windows 7 SP1 with latest Windows Updates, Microsoft Windows 8, Microsoft Windows 8.1, Microsoft Windows 10, Microsoft Windows Home Server 2011 64 bit. macOS 10 or higher. Intel or AMD x86 or x64 processor.
System Memory2 GB RAM or above
System Storage2 GB free space on the hard disk
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 1024 x 768 pixels
Firefox v6 or higher, Chrome v72 or higher.
", "", 17.39]; products[230] = ["Hard Disk Maximizer", 99.99, "My Cloud Security Partner", "Hard Disk Maximizer supports meticulous scanning and mapping of the hard drive & external drives for un-needed programs, duplicate files & junk, which when removed, may allow you to enjoy superior system performance & speed.
Operating System
and Processor
Microsoft Windows Server 2008 SP2, Microsoft Windows Server 2008 R2 SP1, Microsoft Windows Server 2012, Microsoft Windows Server 2012 R2, Microsoft Windows Server 2016, Microsoft Windows Server 2019. Minimum Intel or AMD single core x86 or x64
System Memory256 MB RAM or above
System Storage700 MB free space on the hard disk
Additional RequirementsInternet connection to download, activate, and maintain application updates and antivirus database.
Optimally standard screen resolution no less than 800 x 600 pixels
", "", 86.99]; products[231] = ["Elite Package", 399.99, "My Cloud Security Partner", "Bundled Products Included Hard Disk Maximizer, Secure Root and Disk Cleaning Utility, which may allow you to enjoy system performance with an enhanced clean-up & tune-up mechanism. ", "", 347.99]; products[232] = ["Pro Package", 299.99, "My Cloud Security Partner", "Bundled Products Included Hard Disk Maximizer, Privacy Shield Pro and Disk Cleaning Utility, which may protecting you from phishing attacks, and securing your digital identity.", "", 260.99]; products[233] = ["Premium Package", 199.99, "My Cloud Security Partner", "Bundled Products Included Secure Root, Password Protector and Malware Protection, which preserves your vital information from privacy breach or data leaks.", "", 173.99]; products[233] = ["Anytime Service", 14.99, "My Cloud Security Partner", "Bundled Products Included Secure Root, Password Protector and Malware Protection, which preserves your vital information from privacy breach or data leaks.", "", 14.99]; console.log(products); var orderedItems = []; var orderedTotQty = 0; var maxQty = 10; var shipRates = false; var handling = 0; var carturl = "cart.php"; //Funtion adds Items to Cart var addItem = function(itemId, Qty) { orderedTotQty = $.cookie('orderedTotQty'); if (!orderedTotQty) { orderedTotQty = 0; } Qty = parseInt(Qty); if(Qty > maxQty) { alert("Maximum " + maxQty + " of this product can be selected in a single order"); return false; } var order = $.cookie('order'); if (!order) { order = itemId + "-" + Qty; orderedItems[itemId] = Qty; } else { var itemExists = false; var items = order.split("|"); order = ""; for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (order != "") { order += "|"; } if (prodId == itemId) { alert("Product already exist in cart"); return false; if((quantity + Qty) > maxQty) { alert("Maximum " + maxQty + " of this product can be selected in a single order"); return false; } quantity += Qty; order += prodId + "-" + quantity; itemExists = true; } else { order += prodId + "-" + quantity; } orderedItems[prodId] = quantity; } if (!itemExists) { if (order != "") { order += "|"; } order += itemId + "-" + Qty; orderedItems[itemId] = Qty; } } orderedTotQty = parseInt(orderedTotQty); orderedTotQty += Qty; $('.cartqty').html(orderedTotQty); $.cookie('order', order); $.cookie('orderedTotQty', orderedTotQty); var url = window.location.pathname; var filename = url.substring(url.lastIndexOf('/') + 1); if (filename == carturl) { showCart(false, 'add', itemId); } else { $(location).attr('href', carturl); } }; //Funtion decrements Items to Cart var removeItem = function(itemId, Qty) { Qty = parseInt(Qty); var order = $.cookie('order'); if (!order) { orderedItems[itemId] = 0; refreshRow(itemId); } else { var items = order.split("|"); order = ""; for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (prodId == itemId) { quantity -= Qty; if (quantity > 0) { if (order != "") { order += "|"; } order += prodId + "-" + quantity; } itemExists = true; orderedItems[prodId] = quantity; refreshRow(itemId); } else { if (order != "") { order += "|"; } order += prodId + "-" + quantity; orderedItems[prodId] = quantity; } } } orderedTotQty -= Qty; $('.cartqty').html(orderedTotQty); $.cookie('order', order); $.cookie('orderedTotQty', orderedTotQty); var url = window.location.pathname; var filename = url.substring(url.lastIndexOf('/') + 1); if (filename == carturl) { showCart(false, 'remove', itemId); } else { $(location).attr('href', carturl); } }; //Funtion sets Item quantity on the Cart var setItemQty = function(itemId, Qty) { Qty = parseInt(Qty); if(Qty > maxQty || Qty < 0) { return false; } var order = $.cookie('order'); orderedTotQty = 0; if (!order) { orderedItems[itemId] = 0; } else { var items = order.split("|"); order = ""; for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (prodId == itemId) { quantity = Qty; if (order != "") { order += "|"; } order += prodId + "-" + quantity; itemExists = true; } else { if (order != "") { order += "|"; } order += prodId + "-" + quantity; } orderedItems[prodId] = quantity; orderedTotQty += quantity; } } $('.cartqty').html(orderedTotQty); $.cookie('order', order); $.cookie('orderedTotQty', orderedTotQty); var url = window.location.pathname; var filename = url.substring(url.lastIndexOf('/') + 1); if (filename == carturl) { showCart(false, 'set', itemId); } else { $(location).attr('href', carturl); } }; var removeRowItem = function(itemId) { var order = $.cookie('order'); if (!order) { orderedTotQty = 0; } else { var items = order.split("|"); order = ""; orderedTotQty = 0; orderedItems = null; orderedItems = new Array(); for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (prodId == itemId) { } else { if (order != "") { order += "|"; } order += prodId + "-" + quantity; orderedTotQty += quantity; orderedItems[prodId] = quantity; } } } if($('#prow-' + itemId).length == 1) { $('#prow-' + itemId).remove(); } $.cookie('order', order); $.cookie('orderedTotQty', orderedTotQty); showCart(false, 'removerow', itemId); }; //Emptying the cart var emptyCart = function() { var order = $.cookie('order'); order = ""; orderedTotQty = 0; orderedItems = null; orderedItems = new Array(); $.cookie('order', order); $.cookie('orderedTotQty', orderedTotQty); if($('[id^="prow-"]').length > 0) { $('[id^="prow-"]').each(function(){ $(this).remove(); }); } showCart(false, 'empty'); }; //Displaying the cart items & calculations function showTotalPrice() { var cartHtml = ""; var total = 0; var total_gbp = 0; var shipping = 0; var grand_total = 0; var grand_total_gbp = 0; var sub_total = 0; var sub_total_gbp = 0; var shippingType = ''; var order = $.cookie('order'); orderedTotQty = $.cookie('orderedTotQty'); if($('#shippingCountry').val() == '') { shippingType = ''; } else if($('#shippingCountry').val() == 'US') { shippingType = 'US'; } else { shippingType = 'INTERNATIONAL'; } if (!order) { orderedTotQty = 0; } else { var items = order.split("|"); if(shipRates) { shipping = shipRates * 1.0; } for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (prodId != "" && quantity > 0) { sub_total = round((quantity * products[prodId][1]), 2); sub_total_gbp = round((quantity * products[prodId][5]), 2); total += (quantity * products[prodId][1]); total_gbp +=(quantity * products[prodId][5]) } } total = round(total, 2); total_gbp = round(total_gbp, 2); } var snh = shipping + handling; //if(shipping == 0) { // snh = shipping; //} console.log(snh); grand_total = total + snh; $('#total-price').html('€ ' + total.toFixed(2)+ '/ ₤' + total_gbp.toFixed(2)); $('#shipping-price').html('€ ' + snh.toFixed(2)+ '/ ₤' + snh.toFixed(2)); $('#grand-total').html('€ ' + grand_total.toFixed(2) + '/ ₤' + total_gbp.toFixed(2) ); }; // Refresh row content with updated quantity / price for a product function refreshRow(pid) { pid = parseInt(pid); quantity = orderedItems[pid]; sub_total = round((quantity * products[pid][1]), 2); $('#prow-' + pid + ' .tot-price').html('$' + sub_total.toFixed(2) + ' USD'); $('#prow-' + pid + ' .qtybox').val(quantity); $('#prow-' + pid + ' .dispqty').html(quantity); } //Displaying the cart items & calculations function showCart(showFullCart, act, itm) { var cartHtml = ""; var order = $.cookie('order'); orderedTotQty = $.cookie('orderedTotQty'); if (!order) { orderedTotQty = 0; if($('[id^="prow-"]').length == 0) { $("#cartBox").html("

You have not selected any product...

  Browse Products"); } showTotalPrice(); return false; } else { var items = order.split("|"); var total = 0; var total_gbp = 0; var shipping = 0; var grand_total = 0; orderedTotQty = parseInt(orderedTotQty); if (typeof showFullCart === "undefined") { return false; } else if(showFullCart == false) { if ((typeof act !== "undefined") && (typeof itm !== "undefined")) { if((act == 'add' || act == 'set' || act == 'remove') && itm > 0) { refreshRow(itm); } else if(act == 'removerow' && itm > 0) { itm = parseInt(itm); } } showTotalPrice(); return false; } orderedItems = null; orderedItems = new Array(); cartHtml += "
Order Summary Price
"; cartHtml += "
Order Summary Qty.Sub Total
"; var total = 0; for (var i = 0; i < items.length; i = i + 1) { var position = items[i].indexOf("-"); var prodId = items[i].substring(0, position); var quantity = parseInt(items[i].substring(position + 1)); if (prodId != "" && quantity > 0) { orderedItems[prodId] = quantity; var sub_total = round((quantity * products[prodId][1]), 2); var sub_total_gbp = round((quantity * products[prodId][5]), 2); total += sub_total; total_gbp += sub_total_gbp; cartHtml += "
" + "
" + "

" + products[prodId][4] + " " + products[prodId][0] + "

" + "
" + "" + ""+ "
Qty: "+ quantity +"
" + "
$" + (products[prodId][1]).toFixed(2) + "
" + "
€" + sub_total.toFixed(2) + " / ₤" + sub_total_gbp.toFixed(2) + "
" + "
" } } cartHtml += ""; cartHtml += "
" +"
" +"
" +"
    " +"
  • Sub Total: €" + total.toFixed(2) + " / ₤" + total_gbp.toFixed(2) + "
  • " +"
  • Shipping & Handling: €0.00 / ₤0.00
  • " +"
  • Cloud Security - +44 2045 202229 will appear on your statement.
  • " +"
  • Accept the Terms and Conditions
  • " +"
  • This purchase has an optional €14,99 / ₤14,99 monthly service.
  • " +"
  • Total: €" + total.toFixed(2) + "/ ₤" + total_gbp.toFixed(2) + "
  • " +"
" +"
" +"
"; cartHtml += "
"; if (cartHtml != "") { $("#cartBox").html(cartHtml); } else { $("#cartBox").html(" Loading..."); } return false; } }; var round = function(value, decimals) { return Number(Math.round(value + 'e' + decimals) + 'e-' + decimals); };