Search This Blog

Tuesday 30 October 2012

Magento: Product image Deep Zoom Extension

JQuery library for Magento

 jQuery is a cross-browser JavaScript library designed to simplify the client-side scripting of HTML

http://www.magentocommerce.com/magento-connect/utilities/developer-tools/mygento-jquery-library-and-powerful-plugins.html

Friday 26 October 2012

Magento Custom Admin Theme

http://inchoo.net/ecommerce/magento/custom-admin-theme-in-magento/

Just create new theme and place modified files and new files only instead of all the stuff from default theme.

Monday 22 October 2012

Magento: Programtically Cancel the coupon code on the shopping cart

$quote = Mage::getSingleton('checkout/session')->getQuote();
$oldCouponCode = $quote->getCouponCode();
if (strlen($oldCouponCode)) {
    $quote->setCouponCode('')->collectTotals()->save();
}

Monday 15 October 2012

Image resizing and croping using PHP

Face detection using PHP

Create, Design And Deliver Your Email Newsletter

How To Create, Design And Deliver Your Email Newsletter:
http://www.masternewmedia.org/how-to-create-design-and-deliver-your-email-newsletter/

Email clients and supporting designs:
http://www.email-standards.org/

Thursday 11 October 2012

Test credit card numbers for test mode integration

Here is a list of sample/dummy/test credit card numbers, which are safe to use when you test credit card functionality on a website or application that involves credit card transactions. These credit card numbers validate properly but they are not actually in use.
American Express:
378282246310005
3111111111111117
343434343434343
370000000000002
340000000000009
371449635398431
378734493671000
Visa:
4111111111111111
4007000000027
4222222222222
4012888888881881
MasterCard:
5105105105105100
5111111111111118
5454545454545454
5500000000000004
5555555555551111
5555555555554444
Discover:
6011111111111117
6011000000000004
6011000990139424
6011601160116611
6111111111111116

JQuery Video and Audio players

The jQuery HTML5 Audio / Video Library
http://www.jplayer.org/latest/demos/

Get Events from Facebook

Monday 1 October 2012

Magento: Get current Router name

Mage::app()->getFrontController()->getRequest()->getRouteName()

Add Remove class name to parent node based on the selected country has states or not

Add class to parent node based on the selected country has states (dropdown) or not (textbox)

Open the file js\varien\form.js and navigate to _checkRegionRequired: function()

Add the following code to add new class name to the parent tag
        
                if (!currentElement.parentNode.hasClassName('hide-select-design')) {
                    currentElement.parentNode.addClassName('hide-select-design');
                }

Add the following code to remove new class name from the parent tag
                if (currentElement.parentNode.hasClassName('hide-select-design')) {
                    currentElement.parentNode.removeClassName('hide-select-design');
                }