You Are Here: Home » Posts tagged "Magento tutorial"

Multi-Site, Multi-Domain Setup

One of Magento’s greatest strengths is its capabilities for scaling to support multi-store and multi-language retailing all from the same backend. In this tutorial, we will be showing you how to take advantage of Magento’s scalability by creating multiple websites with unique domain names sharing the same product catalog. *NOTE: Each store can also be configured to offer a unique product catalog as well. Fo ...

Read more

Magento: Direct SQL Queries

Hi friends, After the short tutorial few days ago, I would like to share with you more knowledge in this article. This topic is a little bit tricky so please follow me closely :) To start with, Magento uses data models which provide a great way to access and modify data. Varien uses aptly named methods and clever abstraction to hides away the complex SQL, which is needed when performing data operations. Whi ...

Read more

Magento delete empty categories and sub-categories

Remove all empty categories and sub-categories in Magento. When there are empty categories, the website shows empty page in those categories in frontend. Create a file in the magento root, I will name it rmvEmptyCats.php, with following code: require "app/Mage.php"; umask(0); Mage::app();   $categoryCollection = Mage::getModel('catalog/category')->getCollection()     ->addFieldToFilter('level', array( ...

Read more

Useful guides for email templates and Magento website

Studies show that more than half of emails were opened on a mobile device in the first half of 2013 and eMarketer predicts that eCommerce sales from tablets and mobile devices will reach almost 25% by 2017. However, seven out of ten recipients will delete an email if it doesn’t look good or work well on their tablet or smartphone, and the same goes for websites. Clearly, it’s time to consider responsive des ...

Read more

7 tips to pick a best theme for your Magento Online Store

Developing an ecommerce store is the best way to improve scalability of your business. The first and foremost thing you’d require when you plan to set up an ecommerce store is the platform on which it is going to be raised upon. Given the current trend, majority of websites are raised on Magento as it is proved to be a brilliant platform with plentiful features. The open source nature of this platform adds ...

Read more

How to hide other shipping methods when free shipping is enabled?

When free shipping method is enabled, it is shown along with other available shipping methods unlike free payment method ‘Zero Subtotal Checkout’. There is no harm in showing other payment methods along with free shipping method. Nevertheless some merchants wants to hide rest of the methods when it is enabled. There are many ways to do it. One of the way is to override the method: Mage_Checkout_Block_Onepag ...

Read more

Creating custom router in Magento

How to create custom router, as many of us use the standard router? You should know that Magento has four types of the routers: admin, standard, cms and default – they are loading in the order we’ve described. But, have you ever faced with such configuration? <routers>     <atwixtest>         <use>standard</use>         <args>             <module>Atwix_Test</module> ...

Read more

Inserting your block into any place in Magento

Hi, Now Magento Tutorial will show you how to insert block into any place you want in Magento. As you know, very often we need to set some block into selected weird place without editing template, so we’ll try to describe the way how to do this using layouts and observers.In our case, for such experiments will be used category page. Let’s say, you need to place your block inside the other one and this block ...

Read more

Sending Email in Magento

Anyone can send mail using php mail() function. But in magento, all the functionality you need to just send argument inside those functions. See the following code to send mail using magento function: <?php  $mail = Mage::getModel('core/email'); $mail->setToName('Your Name'); $mail->setToEmail('Youe Email'); $mail->setBody('Mail Text / Mail Content'); $mail->setSubject('Mail Subject'); $mail- ...

Read more
Scroll to top