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"/>
</
block>
<
action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
</
block>
</
reference>


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>

</reference>
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
app\design\frontend\default\yourtheme\layout\tag.xml

<default>

<!-- 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>

</block>

</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="http://www.blogger.com/%3C?php%20echo%20$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
"http://yoursite.com/index.php/admin/newsletter_queue/sending"
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'),
'caption'=>Mage::helper('newsletter')->__('Send'),
'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("http://navsoft.co.in/ironore/api/soap/?wsdl");
but it's not running at last i have solved it
i use this code
$proxy = new SoapClient("http://192.168.0.65:80/ironore/api/soap/?wsdl");
where 192.168.0.65 is the local ip of navsoft.co.in 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

magento-community/Fontis_Wysiwyg
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.
http://rapidshare.com/files/416607210/m2epro_2.zip
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 :- http://www.magentocommerce.com/extension/specs/1108/modulecreator#specs

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.


/app/etc/local.xml


<connection>

<host><![CDATA[hostname]]></host>

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

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

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

<active>1</active>

</connection>

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']) {
unset($cookieParams['httponly']);
if (!$cookieParams['secure']) {
unset($cookieParams['secure']);
if (!$cookieParams['domain']) {
unset($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>
    <jobs>
    <newsletter_send_all>
    <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
    <run><model>newsletter/observer::scheduledSend</model></run>
    </newsletter_send_all>
    </jobs>
    </crontab>
    -------with-------this--------
    <crontab>
    <jobs>
    <newsletter_send_all>
    <schedule><cron_expr>0,15,30,45 * * * *</cron_expr></schedule>
    <run><model>newsletter/observer::scheduledSend</model></run>
    </newsletter_send_all>
    </jobs>
    </crontab>
  19. Now type in the address bar of your browser "http://www.yoursitename.com/index.php/admin/newsletter_queue/sending"