Fetch and calculate tax details anywhere within Magento 2

Often times comes when you want details related to tax based on the products you currently have anywhere apart from Checkout/Cart page. I’m specifically talking about Magento 2 here. For instance, for one of my projects we’ve a projects page where we use catalog products differently than the Magento’s native way and we needed a way to fetch tax details based on the products we have on that page.

» Read More

Reusable code snippets using Live Templates in PHPStrom

Let’s just admit this. If you’re a developer who works with PHP and you haven’t heard about PHPStrom, you’re assumed to be living in the rocks. Because PHPStrom is the best PHP IDE exist right now IMHO. The tagline on the homepage of it reads as “The lightening-smart IDE for PHP” and it’s really true. It has got all the features you’d need in order to become a fluent PHP programmer.

» Read More