Extension
Magento : Newsletter Subscription Redirect
Create A custom Extention As Follow: app/code/local/Sushant/NewsletterRedirect/controllers/SubscriberController.php : app/code/local/Sushant/NewsletterRedirect/etc/config.xml: app/code/local/Sushant/NewsletterRedirect/etc/system.xml: app/code/local/Sushant/NewsletterRedirect/Helper/Data.php:
Magento
Magento : Increase Custom option variable limitation
In Php.ini File: max_input_vars = 30000 suhosin.post.max_vars = 30000 suhosin.request.max_vars = 30000 Or In .htaccess File : php_value max_input_vars 30000 php_value suhosin.get.max_vars 30000 php_value suhosin.post.max_vars 30000 php_value suhosin.request.max_vars 30000
Magento
Magento : Adding a fourth image position to the admin for a product
When building a Magento site, it sometimes becomes apparent that the three default image positions aren’t enough to get by; some sites will need additional positions. Thankfully, Magento allows for this by being able to add an additional image position using the Attributes feature. Hover on “Catalog,” then “Attributes,” then Read more…
Magento
Magento : Youtube Video on Product page
http://www.customy.com/blog/how-to-display-video-on-magento-product-page/
Magento
Magento : Design Patterns
What is a design pattern exactly? In software engineering, a design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. A design pattern is a reusable solution to a common problem. That is as perfect a description. The list of design Read more…
Magento
Magento: Display Most Viewed Products In Magneto
You can use this code in any .phtml or .php files of Magento Get overall Most viewed products: I create an object of the Mage::getResourceModel(‘reports/product_collection’) and filter out the data. Get Most viewed products for current category: Get Most viewed products for last 15 days:
Magento
Magento: How to Check if the SKU is Exist?
Check if the SKU is Exist ? When this code will useful. When you import magento products via code then this code is very useful. If you want to load product via sku then this is very useful. if you want to update any particular product via code then also Read more…
Magento
Magento: Add Currency Switcher to Header
1- First Go to: Admin -> System -> Configuration -> Currency Setup (In General Tab) Select Your base currency. Select Your Default Display Currency. Select Allowed Currencies. Save config. 2- Admin -> System -> Manage Currency -> Rates click on the Import Button to Import the allowed Currency. 3- Copy Read more…
Magento
Magento: Stop Copy And Paste Content From Site
This Functionality Can Be Using A small JavaScript as Below :: just Copy and paste the following code to the Head page. app/design/frontend/your_package/your_theme/template/page/html/head.phtml