When testing transactional email templates on a Magento store set up on your local machine, without emails set up to send, it can be difficult to view customisations made. A handy way of viewing Magento order emails on your local environment involves terminating the script in which the emails try and send out using PHP’s ...
A major benefit using Sass frameworks is the ability to combine multiple images into a single sprite. Here is how to generate sprites with Compass.
If you’ve set up a Compass project, within it, open up the config.rb file and you should see some paths defined.
// config.rb
# Set this to the root ...
If you’ve starting learning SASS basics and are using it within your project, you may want to start using SASS with Compass, a CSS authoring framework.
Compass effectively adds a layer on top of SASS, allowing you to create mixins and sprites with ease, output SASS into compressed CSS and many more features. Sadly Compass ...
One of the reasons why Magento’s system and exception log files get filled so quickly is due to repeated errors being generated when the Magento application loads on each page request.
One of the most common errors seen is the 'Mage_Core_Exception' with message 'Invalid block type: [block] error. This error occurs when Magento tries to ...
You can sort data retrieved from the database using SQL ordering and grouping queries. Ordering is most commonly used when wanted to sort records by a specific column in ascending or descending order. For example, if a database table has a ‘created_at’ column, you can order by this column to find out the most recent ...
MySQL is an open source relational database management system that is used as a component to help store data for web applications. You can install MySQL locally on a Mac following a few simple steps.
Firstly, head to the MySQL website and then to the Downloads section. Head to the Community Edition downloads and choose ...
When using SQL JOINS within a query, you are combining rows from multiple tables into one result set based on the tables having a related column name.
The most common example of using SQL JOIN queries can be demonstrated by using a customers table and an orders table stored in the same database.
Let’s assume ...
SQL, or Structured Query Language, is a computer language aimed at querying relational databases. This post will show you how to get started with SQL, including learning the basic syntax of selecting, adding, updating and removing records from a database.
Firstly, note that SQL is case insensitive, which means using SELECT or select have the ...
Welcome to Magento 2 Theme Development Part 4. Continuing on from development changes to our custom theme, we’ll be looking at adding a new container to the page templates.
Back to Part 3.
In Magento 1 versions, you had structural blocks that defined the structure of the page. The main blocks involved included header, footer, ...
To create a form in Zend Framework 3 requires a class to be created that extends the Zend\Form\Form class. This form class manages various inputs as well as their validation.
As an example, a basic form will be created below.
If using the Zend skeleton application, ensure that you have a custom module set up. ...