Magento Themes and Magento Extensions

Selecting Custom Magento Transactional Emails

Share
Posted on October 20th, 2012 | Posted by admin

Selecting Custom Magento Transactional Emails

For reference, these are the places the transactional e-mails can be adjusted:

General:
Currency Setup – Scheduled Import Settings
* Contacts – Email Options

Catalog:
Catalog – Product Alerts
Google Sitemap – Generation Settings
* Email to a Friend – Email templates

Creating a Configurable Product in magento

Share
Posted on October 19th, 2012 | Posted by admin

Advanced products in Magento are a way to consolidate product variants onto a single product info page in the front-end. The variants themselves have their own SKUs and stock management. This is very powerful – it allows you to let customers search for the individual variants, but browse only to the consolidated product pages. (If that’s the implementation you want – you could also let customers browse the individual SKUs.)

Configurable Products let your customers select the variant they desire by choosing options. For example, you sell t-shirts in two colors and three sizes. You’d create the six variants as invidivual products (with their own skus) and then add these six to a configurable product from where customers can choose size and color, then add to cart. If desired you could also have customers search for “red medium t-shirt” and land on the specific page for this variant.

Cannot saveShippingMethod in Magento One Page Checkout

Share
Posted on October 18th, 2012 | Posted by admin

Cannot saveShippingMethod in Magento One Page Checkout

In summary, I am calling these functions in order:

$checkout = Mage::getSingleton(‘checkout/type_onepage’);
$checkout->saveCheckoutMethod(‘guest’);
$checkout->saveBilling($billingAddress, false);
$checkout->saveShipping($shippingAddress, false);
$checkout->saveShippingMethod(‘flatrate_flatrate’);
$checkout->savePayment(array(‘method’=>’checkmo’));
// Extra part not on the site but saw it in the original magento onpage checkout controller
$checkout->getQuote()->getPayment()->importData(array(‘method’=>’checkmo’));
//
$checkout->saveOrder();

Magento Performance Boost: Cleanup Old Session Files

Share
Posted on October 18th, 2012 | Posted by admin

If left unchecked, Magento session files can grow out of control and have a negative impact on your sites performance (aswell as taking up storage space). This article explains how to make sure old session files are removed automatically.

Magento stores it’s session files in var/session and I’ve seen too many Magento installations where the size of this directory has grown into the gigabytes. A quick browse of this directory should tell you whether you have a problem or not.

PHP has it’s own ‘garbage collection’ process for deleting old session files, but it’s disabled in Debian “due to the strict permissions on /var/lib/php5″

Listing products by attribute

Share
Posted on October 17th, 2012 | Posted by admin

This is step by step tutorial for the beginners that will show you how to list products by attribute. I will start with functions that Magento already has built-in: New products and Promotional products. All the instructions below is made from Magento Professional 1.9.0.0

Listing products with attribute New

You can find settings for defining New attribute in  Magento administration under Manage products in Products management. For this tutorial I will use CMS page called Homepage as example. In CMS Page layout -> Layout Update XML is defined template for CMS page by

Page 3 of 7«12345»...Last »