Book Image

Instant Magento Shipping How-to

By : Robert Kent
Book Image

Instant Magento Shipping How-to

By: Robert Kent

Overview of this book

There is nothing worse for a customer than paying for an item online and never receiving it. As store owners, it is your responsibility to make sure each order is processed correctly, and more importantly—shipped. Configured correctly, Magento's shipping settings will not only make your lives as vendors much easier, but will also, through good service, keep customers coming back for more. Instant Magento Shipping How-to is a comprehensive guide on how to set up your Magento Shipping configuration. This book will also broaden your knowledge of the various systems within Magento that impact upon the shipping settings. Instant Magento Shipping How-to will walk you through the steps required to conduct the initial configuration to allow shipping for your products, taking into account Tax settings and the different product types. Magento's administration panel is a bit of a daunting system. Being able to customise all of Magento's shipping settings is what makes the difference between a store that can take orders and ship them and a store that delivers on all levels.
Table of Contents (7 chapters)

Customizing your shipping e-mails (Become an expert)


E-mailing a customer once their order has been shipped is a vital stage of any Magento website. The default new shipment template however, can sometimes be (to say the least) a little uninspiring. Within Magento lie the tools to edit our transactional e-mails to however we wish.

Getting ready

To be able to edit our transactional e-mails, a good working knowledge of HTML and CSS is required.

How to do it...

  1. Navigate to System | Transactional Emails and click on Add New Template.

  2. Under Load default template, select New Shipment from the Template drop-down menu and click on Load Template.

  3. In the Template Name field enter Custom New Shipment.

  4. Change the Template Subject field so that it reads as follows:

    Your Order # {{var order.increment_id}} has been shipped! (Shipment # {{var shipment.increment_id}}) 
  5. Edit the HTML within the Template Content field so that the first line reads Thank you for your order from {{var store.getFrontendName()}}, we can confirm that your order has now been shipped. To save our new template click on Save Template:

  6. To assign our new template to our sales e-mail process we first need to navigate to System | Configuration | Sales Emails making sure that our scope is set to Default Config and then within the Shipment tab change the Shipment Email Template field to Custom New Shipment, finally click on Save Config:

How it works...

Once we have created our new shipment template and assigned it as our new shipment e-mail template, all new shipments that are created for our order will receive our new e-mail when the Email Copy of Shipment has been ticked when submitting the shipment:

Our changes will take effect immediately as we can see from this screenshot of the e-mail received:

There's more...

Transactional e-mails can be edited for all sorts of automatic e-mails, from invoices to credit memos. One thing to make sure of though is that we cater for guests as well as customers.

For each of the main transactional templates there is a guest and a non-guest version, so depending on our store setup (whether we allow guest to checkout) we need to ensure both templates have been edited.

There is more information on editing transactional e-mail templates at the following URL:

http://tinyurl.com/cvzwyzf

Using variables in transactional e-mails

An important thing to consider when editing the transactional templates is to ensure that all data remains consistent throughout the website. Magento provides variables for us to do this. Within our custom e-mail template there is a button called Insert Variable…, clicking this will bring up a list of variables that can be used inside the e-mail.

The value of each of these variables is contained within the store configuration, so as long as the variable is used on all templates we do not need to worry when changing, for example our Store Contact Telephone information.