Follow by Email

Tuesday, November 30, 2010

Get product in your home page with pagination in magento

At last i have got a good solution of this problem
in your home CMS remove

{{block type="catalog/product_list" category_id="3" template="catalog/product/list.phtml"}}

from your Content area and add

<reference name="content">
block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
action method="setCategoryId"><category_id>3</category_id></action>
block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
block type="page/html_pager" name="product_list_toolbar_pager"/>
action method="setToolbarBlockName"><name>product_list_toolbar</name></action>

in your left menu Design -> Page Layout under Layout Update XML
now your pagination will come..

Monday, November 29, 2010

Remove your paypal logo from your right panel

you can
<remove name="paypal.partner.right.logo" />

Change your catalog template in magento

It is very good idea to change catalog template
it control from catalog.xml of your theme folder open it and find this code
<catalog_category_default translate="label">

<label>Catalog Category (Non-Anchor)</label>
after this code add this
<reference name="root">

<action method="setTemplate"><template>page/2columns-right.phtml</template></action>

if you want to change your template into 2columns-right

Add your Popular Tags in your magento frontend

This was a small problem but it was big to me
if you want to set your popular tag then first select the location where you want to add it (right or left panel) just go to the


<!-- Mage_Tag -->

<reference name="right">

<block type="tag/popular" name="tags_popular" template="tag/popular.phtm">

<action method="setTemplate"><template>tag/popular.phtml</template></action>


</reference> </default>

find this code and change
if you want to keep it left then or leave it

Saturday, November 27, 2010

Change default welcome message

I found it. It’s under Admin > System > Configuration > Design > Header > Welcome Text.
How to put Quick link in the magento footer
Just go to the system -> configuration -> design ->footer->Miscellaneous HTML

Friday, November 26, 2010

Add CMS page in the magento top menu

If you want to add your cms page in your front end top menu in magento it's very easy

after adding the cms from your admin go to the

app\design\frontend\default\your theme\template\catalog\navigation\top.phtml

add <li><a href="$this-%3EgetUrl%28%27howtotieatie%27%29%20?%3E">__('How to Tie a Tie') ?></a></li>

under <ul>

where my cms page is howtotieatie

make your catch clear and enjoy</ul>

Tuesday, September 21, 2010

Create newsletter sending dropdown in newsletter queue

At last i have done a good job normally every one set there newsletter ans run this link from there browser
but i have change it a little bit
i have found the page which is 'app\design\adminhtml\default\default\template\newsletter\queue\list.phtml'
in this page getChildHtml('grid') ?> this function call the list body
which come from 'app\code\core\Mage\Adminhtml\Block\Newsletter\Queue\Grid\Renderer\Action.php' open this page and add this code

$actions[] = array(
'url'=> $this->getUrl('*/newsletter_queue/sending'),
'popup' =>true
in line number 77 before this code $this->getColumn()->setActions($actions);

now you can see a drop down list in your newsletter queue click on it , it will send your not sent news letter.

Friday, September 17, 2010

Change your Customer welcome email template

It is very simple to do but you have to know the proper process.
If you want to create a customize template for the welcome email then you have to create it first from System -> Transactional Emails , Now add a new Template , create it and save it.
Now go to the System -> Configuration. then Customers -> Customer Configuration ,and then "Customer New account options"
change the Default Welcome Email, Confirmation Link Email, Welcome Email with your template.
save config

Now your welcome mail will send with your template.....

Wednesday, September 15, 2010

Soap api use in magento

This was a very big problem for me. Soap client is running in the local host but it's not working in live server.
In be4 i used this code
$proxy = new SoapClient("");
but it's not running at last i have solved it
i use this code
$proxy = new SoapClient("");
where is the local ip of now the magic point is that you have to put the port number which is 80 . after that it will run in the server.

Tuesday, September 7, 2010

Extension for WYSIWYG Editor

this is the best extension for gift coupon magento-community/Unirgy_Giftcert

Thursday, September 2, 2010

There have an extension available for magento to integrate eBay store.
download the file from the above link, now extract the rar file and paste all the folder in your magento root directory. Now you can see in your admin panel a menu "M2E Pro" added in the top menu.

Tuesday, August 31, 2010

Create module in magento

Magento have a wonderful extension which can help you to create a module it is "magento-community/Netz98_ModuleCreator"
link :-

Monday, August 30, 2010

Configure your Contact Us page

If you wan to configure your contact us page then go to the your admin-> system -> configuration
Now change default store view from “Current Configuration Scope:” drop down.
And then general-> contacts
Now change your “Send Emails To” .
after doing this configure all mail will send your selected mail if any one want to contact you by your site

Tuesday, August 17, 2010

Change Magento database information

If you want to change the MySQL database connection details such as hostname, database name, username etc of a Magento Store, you need to edit the following file for that. If its in a web server, connect using a FTP software and download the file, edit it and upload back.




<username><![CDATA[DB username]]></username>

<password><![CDATA[DB pwd]]></password>

<dbname><![CDATA[DB name]]></dbname>



Monday, August 16, 2010

Install magento in wamp server

Put your magento folder into www directory in wamp server, run it from your browser, after the installation when you see two button to go back end and front end. Then go to the "app\code\core\Mage\Core\Model\Session\Abstract\Varien.php"
Comment as follow
// session cookie params
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()/*,
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()*/

/*if (!$cookieParams['httponly']) {
if (!$cookieParams['secure']) {
if (!$cookieParams['domain']) {

if (isset($cookieParams['domain'])) {
$cookieParams['domain'] = $cookie->getDomain();

Now click on back end. then it will work.

Saturday, August 14, 2010

Delete your Newsletter Template,Queue

If you want to delete Newsletter Template,Queue then go to the database where you install your magento database open this table "newsletter_problem", "newsletter_queue", "newsletter_queue_link", "newsletter_queue_store_link", "newsletter_template". Delete all the record from this table. now you can see from your admin panel your all Template and all queue have gone.

Setting Newsletter in Your Magento Store

If you want to create a newsletter and want to send it to your all subscriber then you have to follow some basic stapes
  1. Go to your admin -> Newsletter -> Newsletter Templates -> Add new templates
  2. Now fill up your newsletter form and make it save by clicking Save Template
  3. Now you can see your template in tabulate form, now select Queue newsletter from action drop down
  4. Now set the date and time from "Queue Date Start" and save newsletter
  5. Now go to the Magento Admin -> System -> Configuration -> Customers -> Newsletter. You need to make enable for only those customers who are agreeing to receive newsletter
  6. Unsubscription Email Sender -> Customer support
  7. Unsubscription Email Template -> default Template from local
  8. Success Email Template -> default Template from local
  9. Success Email Sender -> general contact
  10. Confirmation Email Sender -> Customer support
  11. Confirmation Email Template -> default Template from local
  12. Now from here, Expand the Subscription Options area and change the Need to Confirm field value to Yes.
  13. click on save config
  14. Now go to the Admin => system => configuration => system => ‘Cron (Scheduled Tasks)’ tab.
  15. Generate schedules every -> 60, Schedule ahead for -> 1, Missed if not run within -> 60, History cleanup every -> 120, Success history lifetime -> 120, Failure history lifetime -> 120
  16. click on save config
  17. Now open this file "app\code\core\Mage\Newsletter\etc\config.xml"
  18. <crontab>
    <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
    <schedule><cron_expr>0,15,30,45 * * * *</cron_expr></schedule>
  19. Now type in the address bar of your browser ""