Posts

Getting Started with Laravel

Laravel is a PHP framework introduced in 2011 used to develop web applications. According to Google trends, the number of search terms for Laravel over the past 5 years have eclipsed other frameworks such as Symfony and Zend.

Getting started with Laravel is easy. Simply download the Laravel installer via Composer:
$ composer global ...

Magento 2 Tax Tutorial Part 3

Back to Part 2
Welcome to Magento 2 Tax Tutorial Part 3. Previously we looked at configuring Tax Rules and Rates within the admin, Tax Classes and the effect on applying multiple rules against customers.
In the first post we configured a product’s price in the admin to exclude tax, so that Magento would the ...

Configuring Websites with Nginx on a Mac

Configuring websites with Nginx requires you to add server blocks. These are blocks of configuration that are kept in individual files associated to each website.
Each configuration file should be kept in a sites-available directory. This directory should be located in the same directory level as the nginx.conf file.
As an example, let’s add some ...

Category Thumbnails in Magento

In earlier versions of Magento, there was a category thumbnail attribute that Magento provided so you could add a thumbnail image to a category in the Catalog -> Manage Categories section.

However, as of Magento CE 1.9.1.0, the thumbnail attribute has disappeared. So where have the category thumbnails in Magento gone?
Looking closer at ...

Magento 2 Tax Tutorial Part 2

See Part 1 Here.
Welcome to Magento 2 Tax Tutorial Part 2. This will continue on from the first post, where we look further into adding Tax Rates and Rules.
Previously, we managed to configure a tax rule to show on the frontend. Furthermore, the rate was displayed either by it being calculated on the ...

Install Nginx on a Mac

Nginx is a web server that can be installed locally to help run websites on your computer. To install Nginx on a Mac, it is recommended that you install it using homebrew.
If you haven’t already installed Homebrew, you can run the following command.
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Continue on by installing Nginx ...

Add a Custom Total in Magento 2

Custom totals can be added to provide a surcharge or discount to customers on your Magento store. To add a custom total in Magento 2, the total must first be defined within a configuration file.
The article will assume that you have correctly created a vanilla module with the registration.php and etc/module.xml files present.
The ...

Useful htaccess Configuration

.htaccess files are used as configuration files for sites running on an Apache web server. If running a PHP application, some useful htaccess configuration code snippets can be seen below.
To set PHP values, you can use php_value followed by the directive and the value. For example, PHP 5 values can be added within the ...

Magento 2 Tax Tutorial

Welcome to a Magento 2 Tax Tutorial. These series of posts aim to help you understand tax configuration within Magento, and how to configure the settings that best suit your store.
To help avoid confusion, any product prices will show both the excluding and including tax values. In addition, the tax rates that are included ...

Maintenance Page Customisations in Magento 2

Maintenance mode in Magento has been a part of the application for many years and is easy to enable/disable by adding and removing a maintenance flag file.
The message that we’ve become accustomed to over the years in regards to maintenance will look something like the below.
Service Temporarily Unavailable

The server is temporarily ...