Magento themes and extensions

Product Image Preview module in magento

Posted on August 2nd, 2011 | Posted by admin

This extension will install a wonderful and ready-to-use product image preview widget in your Magento store. This is an impressive script that allows your visitors to conveniently zoom out an product image that they want to view. Installation is very easy via FTP and no coding experience is required to have module up-and-running.

  1. Allow customers zoom out product images they want to view
  2. Allow admin to configure the following parameters: Image Preview size, Border Image Preview, Border Color for Image Preview, Text Image Preview, Text color
  3. Our modules include one year of free updates/upgrades.
  4. Seperated HTML/CSS, W3C validated
  5. Support Magento Version 1.4.x and 1.5.x
  6. 100% open source
  7. Support free guarantee
  8. Live support is always ready

How to add a tab to product edit page

Posted on August 1st, 2011 | Posted by admin

If you want to add a tab to the product edit page, you can do this by following these steps:

  1. Create a new tab block  {module_name}/adminhtml_{block_name} class Magestore_{module_name}_Block_Adminhtml__{block_name} extends Mage_Core_Block_Template
    implements Mage_Adminhtml_Block_Widget_Tab_Interface
    public function __construct()

    public function getTabLabel(){
    return Mage::helper('core')->__('My tab');

    public function getTabTitle(){
    return Mage::helper('core')->__('My tab');

    public function canShowTab(){
    return true;

    public function isHidden(){
    return false;

Using addSuccess and addError to show message in Magento

Posted on August 1st, 2011 | Posted by admin

When working with form, you usually show a message after each action of users.

Magento provides a very easy way to show error or success message. Below is an example:

BestSeller Products Slider

Posted on July 29th, 2011 | Posted by admin

Thanks you for purchasing this extension.

  1. I. Installation Guide
    Please make sure your Magento store comes ready before you integrate our extensions. If your store has not been available yet, get it quickly following Magento Installation Guide

    You just need follow steps below to get our extensions ready for your Magento store:

  2. 1. Upload folders app, js and skin from our download package to your Web server’s document root (from here on, referenced as{docroot}). These files will overwrite default folders app, js and skin in your Magento folder, you should see a directory layout like this:

{docroot} /magento/app/

Show a static block in html

Posted on July 29th, 2011 | Posted by admin

In one of my previous posts, I wrote about how to show a block in a .phtml file but some people asked me about the static block. So here is the solution:
Please put this piece of code into a correct place of the .phtml file that you want to show a static block.

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('my-new-block')->toHtml()