Author: Olly

  • Removing the VAT from a VAT Inclusive Price

    Ok, so we just spent the last 30 mins figuring out how to remove the VAT (20%) from a VAT inclusive price.

    The reason for this, is a customer of ours has an awesome online shop made by us – and all his prices are INCLUSIVE of VAT/Tax. He trades internationally, so we’ve been working on a cool EUVAT/Vat Exempt module so that (example) if someone buys from the EU and is EUVAT registered, they input their EUVAT number, the site instantly checks it for validity and if its OK removes the Tax/VAT from the order.

    It has a whole heap of other “conditions” with it, but thats not the reason for this blog post.

    We wanted to bulk remove the vat from his products, but our initial plan fell flat on its face, becasue;

    £100 + 20% VAT = £120

    £120 – 20% VAT = £96

    Ah.

    The reason for this is that 20% of 100 is not the same as 20% of 120….

    So we racked our brains for all those formulas and junk we learnt in school, and asked a few friends who mostly pointed us to cool websites that seemed to do the job – but we were still no closer to actualyl figuring out what the formula was..

    Then all of a sudden, bingo!

    One of the lads figured it out, and here it is;

    (total_price/(100+VAT))*100

    So, as we break it down…..

    (120/(100+20))*100

    (120/120)*100

    1*100

    £100

    Bingo! 🙂

  • Chocolate Milk Review: Mars Milkshake

    When it comes to chocolate milk, there is one that (for me) stands above the rest. If an old friend was to meet up with me and wanted to bring a drink as a present, it would probably be a mars milkshake – ive often wondered why Mars haven’t sponsored me yet with how many ive bought and consumed throughout the years and how famous together we have become haha… 😐

    Mars. Probably my fav :)

    Anyway, Mars milk has a hint of caramel as well as its based around a mars bar – the taste is similar but you are never going to replicate an actual marsbar in a drink!

    They taste delicious and are apparently not too bad for athletes or something – i read it on the bottle once but didn’t pay that much attention.

    They also so an extra choc one that is ok but it loses its Mars Charm as there is less caramel – and the thick shake is nice but it will never be the original mars milkshake. And for those of you who dont drink it often you can get it in a powder form so you can enjoy whenever you want.

    I actually think it tastes better out a carton – like coke out a glass bottle – there is just something about it 🙂

     

  • Chocolate Milk Review: Battle of the Supermarkets Part 1

    Every supermarket sells their own brand chocolate milk alongside the popular brands, and most of them are pretty much on par with them too. It’s Tesco and Asda up first, and both offer a similar drink in terms of taste, quantity and value – except the tesco one tasted a lot sweeter and the packaging was more childish, whereas the asda drink tasted like it was less artificial, not as sweet – slightly better quality maybe?

    If I was to go and buy one of them again now, I’d buy the asda brand one!

    Tesco Chocolate Milk – 6/10
    Asda Chocolate Milk – 7/10

    And in the supermarket rankings it’s Asda in first place with Tesco not far behind..

    Next, Sainsburys and Co-op 🙂

  • Your UPS Invoice is Ready – SCAM – Phishing Email – WARNING – Explained

    My spam box receives hundreds and hundreds of emails every day – on all my email accounts. Every now and then one slips the net (not that often though, thanks Gmail!) and due to me bein’ around these parts for a while i’m able to spot the warning signs that indicate that it is in fact a scam;

    ups_scam_phishing_email-top

    The email address looks legit, there are no formatting errors within the body text like previous scam emails have contained – from first glances this is a pretty convincing fake!

    So can you tell if its a fake?

    Place your mouse cursor over links but DO NOT CLICK ON THEM!

    ups_scam_phishing_email-middle

    Note the preview of where that links takes you?

    Im pretty sure UPS dont use n-moto.ru for their own website. In fact, the domain could be ups.ru for all i care, the .ru bit in it makes it (imo) stand out like a sore thumb.

    It must be horrible for the russian domain name authority – but if i see a .RU domain name extension i run for the hills. I know my personal site has a .im domain name extension but these are very rarely used for spam/dodgy sites – in fact the spam sites seem to keep their domain extension choices to a minimum.

    They either use .RU (Russia) or .CN (China) – probably because the chinese and russian governments don’t give a shit about what people do online from their countries.

    Anyway, if you are not expecting an email from UPS or any other delivery company/service or if ANYTHING – and if something arouses your suspicions – then google it, ask me, ask someone who knows more about these things – and if all else fails delete it and they will call you if its important!

    Thanks to GemmaBeans for sending me the email – she thought it looked dodgy and she was right!