Wednesday, 25 September 2013
Increase number of emails to be sent via Nesletter
To increase the number emails to be sent for every 5 min:
In app/code/core/Mage/Adminhtml/controllers/Newsletter/QueueController.php
Change the
$countOfSubscritions = 20;
To
$countOfSubscritions = 100; // whatever number you want
Also in app/code/core/Mage/Newsletter/Model/Oberver.php
Change the
$countOfSubscritions = 20;
To
$countOfSubscritions = 100; // whatever number you want
In app/code/core/Mage/Adminhtml/controllers/Newsletter/QueueController.php
Change the
$countOfSubscritions = 20;
To
$countOfSubscritions = 100; // whatever number you want
Also in app/code/core/Mage/Newsletter/Model/Oberver.php
Change the
$countOfSubscritions = 20;
To
$countOfSubscritions = 100; // whatever number you want
Extend the core admin controller
Working example can be found at :
http://www.magentocommerce.com/boards/viewthread/25942/P15/#t348401
http://www.magentocommerce.com/boards/viewthread/25942/P15/#t348401
Tuesday, 24 September 2013
Creating Virtual Host on Mac
Restart Apache on Mac:
http://www.cyberciti.biz/faq/restart-apache2-mac-osx/
http://www.cyberciti.biz/faq/restarting-apache-under-oxs-commandline/
Creating a Virtual Host on Mac:
http://foundationphp.com/tutorials/vhosts_leopard.php
Subdomain Setup on Mac:
http://content.websitegear.com/article/subdomain_setup.htm
http://www.cyberciti.biz/faq/restart-apache2-mac-osx/
http://www.cyberciti.biz/faq/restarting-apache-under-oxs-commandline/
Creating a Virtual Host on Mac:
http://foundationphp.com/tutorials/vhosts_leopard.php
Subdomain Setup on Mac:
http://content.websitegear.com/article/subdomain_setup.htm
Sunday, 22 September 2013
Get Default Magento store ID
$defaultStoreId = Mage::app()
->getWebsite(true)
->getDefaultGroup()
->getDefaultStoreId();
Thursday, 19 September 2013
Improve Magento native search
Follow the tips at http://markustenghamn.com/improve-search-function-magento
Install the following free extension:
http://www.magentocommerce.com/magento-connect/enhanced-default-search-9697.html
Install the following free extension:
http://www.magentocommerce.com/magento-connect/enhanced-default-search-9697.html
Tuesday, 17 September 2013
Magento Newsletter UnSubscribe Link
Script to get Unsubscribe link:
Mage::getModel('newsletter/subscriber')->loadByEmail($email)->getUnsubscriptionLink();
Code snippet to be used in email templates:
<a href="{{var subscriber.getUnsubscriptionLink()}}">{{var subscriber.getUnsubscriptionLink()}}</a>
Mage::getModel('newsletter/subscriber')->loadByEmail($email)->getUnsubscriptionLink();
Code snippet to be used in email templates:
<a href="{{var subscriber.getUnsubscriptionLink()}}">{{var subscriber.getUnsubscriptionLink()}}</a>
Friday, 13 September 2013
Tuesday, 10 September 2013
Tuesday, 3 September 2013
Magento Newsletter Integration
MailChimp:
http://www.magentocommerce.com/magento-connect/mage-monkey-mailchimp-integration-4865.html
Constant Contact:
http://www.magentocommerce.com/magento-connect/constant-contact.html
http://www.freelunchlabs.com/store/constant-contact-and-magento-sync.html
IContact:
http://www.magecoders.com/index.php/magento-extensions/icontact-sync.html
http://www.magentocommerce.com/magento-connect/icontact-sync-9752.html
http://www.magentocommerce.com/magento-connect/mage-monkey-mailchimp-integration-4865.html
Constant Contact:
http://www.magentocommerce.com/magento-connect/constant-contact.html
http://www.freelunchlabs.com/store/constant-contact-and-magento-sync.html
IContact:
http://www.magecoders.com/index.php/magento-extensions/icontact-sync.html
http://www.magentocommerce.com/magento-connect/icontact-sync-9752.html
Monday, 2 September 2013
Get product URL without categpry and product ID
$product = Mage::getModel('catalog/product')->load($productId);
$url = Mage::getUrl($product->getUrlPath());
$url = Mage::getUrl($product->getUrlPath());
Integrating Onstagram with Magento
Instagram API:
http://instagram.com/developer/authentication/#
Free Extension:
http://magento.ikantam.com/store/free-instagram-magento-extension.html
Installation Guide:
http://magento.ikantam.com/store/media/catalog/product/pdf/Instagram_Extension.pdf
Extension on Magento Connect:
http://www.magentocommerce.com/magento-connect/instagram-extension-2508.html
Paid Extension:
http://www.magazento.com/english/magento-ext/magazento-extensions/instastream-instagram-integration
http://instagram.com/developer/authentication/#
Free Extension:
http://magento.ikantam.com/store/free-instagram-magento-extension.html
Installation Guide:
http://magento.ikantam.com/store/media/catalog/product/pdf/Instagram_Extension.pdf
Extension on Magento Connect:
http://www.magentocommerce.com/magento-connect/instagram-extension-2508.html
Paid Extension:
http://www.magazento.com/english/magento-ext/magazento-extensions/instastream-instagram-integration
Subscribe to:
Posts (Atom)