Customize Design of order success page in Magento

Share
Posted on March 28th, 2013 | Posted by admin

Some time we need to some design changes on order success page in Magento and we face problem when we try to customize the design of order success page. Because, success page appear when we place an order. Once we refresh the page success page gone away. To see success page again we need to place an order again. Its is a big hassle for developer.

To view order success page just comment out few lines of code in successAction.(/app/code/core/Mage/Checkout/controllers/OnepageController.php).

Search public function successAction()

Magento Category Page Image Resize

Share
Posted on March 22nd, 2013 | Posted by admin

You may want to increase the size of the images shown on the category pages of your Magento theme. To do so open list.phtml in

app/design/frontend/yourpackage/yourtheme/template/catalog/product/

. Search for the code below and edit the sizes listed.

<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(225, 225); ?>”
 width="225" height="225" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image'))
 ?>” title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>” />

Magento – Adding Static Block content to a Page

Share
Posted on November 16th, 2012 | Posted by admin

Add Magento static blocks to your page easily! Simply copy this line of code below where you want the static block to appear and change the ‘identifier’ to the identifier of the static block you created. That’s it!
1
getLayout()->createBlock(‘cms/block’)->setBlockId(‘identifier’)->toHtml() ?>

Custom tab in magento customer account page

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

Custom tab in magento customer account page

The Customer edit page in the admin panel gives details about the customers account information,address,orders etc.

In some scenarios we may need to show our custom module contents related to the customer in a additional tab. To achieve this functionality we need to create a custom module and add our tab.

Step 1: We start with our config.xml file. In this file we are specifying an adminhtml xml layout file and a Block class for our custom module.

app/code/local/Mydons/etc/config.xml

<config>
<modules>
<Mydons_Customertab>
<version>0.1.0</version>
</Mydons_Customertab>
</modules>

How to Add Custom Tabs to Magento Customer Edit page

Share
Posted on January 16th, 2012 | Posted by admin

Magento Provides the manage customers feature to list and edit the customers information.
The Customer edit page in the admin panel gives details about the customers account information,address,orders etc.

In some scenarios we may need to show our custom module contents related to the customer in a additional tab. To achieve this functionality we need to create a custom module and add our tab.

Step 1: We start with our config.xml file. In this file we are specifying an adminhtml xml layout file and a Block class for our custom module.

app/code/local/Mydons/etc/config.xml

Page 1 of 212»