Blog

Magento: hide tax summary from cart/checkout

Magento displays tax summary in cart and checkout by default: You may not always want this to show and there is a simple method of hiding the tax section in cart by making the following changes: – go to /app/design/frontend/base/default/template/tax/checkout/tax.phtml – copy this template file to your theme folder eg. /app/design/frontend/default/customtheme/template/tax/checkout/tax.phtml – uncomment the following code …

E-commerce VAT setup explained

The following is relevant for a VAT registered UK company who is shipping worlwide: – VAT is only charged within the EU – Customers outside EU are not charged any VAT (consumer and business) – VAT is charged at the UK rate (origin from where the goods are shipped not destination. If you ship to Italy, UK …

(Re) Index Magento via command line (SSH)

Magento can just easily be indexed via backend by going to System – Index Management section but sometimes this process can fail or the backend might not be accessible. A simple way to bypass this is to log in using command line and the following: Navigate to the root of your Magento installation. Once there, …

CSS – Make a rounded image with the help of CSS3

Here is a simple method to create a circular effect on an image with the use of CSS3. As an example, I’ll use the image below with basic html code and CSS: <div class=”img-circular”></div> I’ll now add style for the class “img-circular”: .img-circular{ width: 300px; height: 300px; background-image: url(‘http://michaelsavin.com/wp-content/uploads/2014/09/new_image.jpg’); background-size: cover; display: block; } The …

Magento – add gift message to orders

1. Log into Magento backend 2. Go to System – Configuration – Sales – Sales – Gift Options 3. Select Yes for Allow Gift Messages on Order Level 4. Click Save Config. The checkout page will now include a Gift Options message within the shipping method section: You also have an option of enabling gift messages on item level along with orders (Point …

What is grep and when/how to use it

Grep is a Unix tool used for searching content within files sitting on the server. The general syntax of the grep commands is: grep [-options] pattern [filename] You can use fgrep to find all the lines of a file that contain a particular word. For example, to list all the lines of a file named myfile in the current directory that …

Backup/Restore Magento SQL database using SSH

This tutorial explains how to backup and restore a database using secure shell (SSH) as opposed to Cpanel or PHPMyadmin. SSH (Secure Shell) can be used in Windows via 3rd party apps like Putty or in OSX via native Terminal App. To backup your database through SSH (create SQL dump): mysqldump –opt -u user -p dbname > …

Test Credit Card Numbers

Below you’ll find links to test credit cards for some of the most popular Magento payment providers Sagepay http://www.sagepay.co.uk/support/12/36/test-card-details-for-your-test-transactions Paypal http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm Authorize.net http://rpmware.com/support/customers-&-orders/questions/test-credit-card-numbers Worldpay http://support.worldpay.com/support/kb/bg/testandgolive/tgl5103.html Cardsave http://www.cardsave.net/downloads/TestCardDetails.zip

Magento Table Rate Generator

I’ve recently stumbled upon a very useful table rate generator for those exciting moments where you need to create shipping methods for 50 countries or so. Has an European Union option with default shipping cost and CSV table export. http://elgentos.nl/tablerates/   Many thanks to Elgento Ecommerce Solutions