Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
How to reset your Magento admin password from Database?
If you forget the username or password to of the Magento admin panel,you can recover or change it from Magento database from phpyadmin. Most of the times forget password or username do not work, so we can use this method to recover magento admin ...
Magento 1.9.2.1: How to remove product images programtically?
Magento: Remove Product Images in Magento through programming:
There is a case when we need to create our own extensions or we have to customize the module, then in that case we need to write custom code for deleting images. Following code wil...
Magento 2.0: How to add static block in a page template
In order to add static block in page (.phtml) template. Follow the steps below:
Display Static Block in Phtml file & CMS page.
In XML File:
<referenceContainer name="content">
<block class="Magento\Cms\Block\Block" name="...
Set robots in magento for cms pages
Robots is useful to prevent your website from search engines indexing. You can simply add robots.txt in your website as well as set the default robots settings from admin.
Go to configuration->system->design section to set the value for ro...
Integrating Twitter with Magento
Social media... Now a days social media is a part of life or requirement of time. We are here to discuss integration of twitter with magento. We all have twitter account. Am I right?. We can integrate twitter to magento with different ways. Like ...
Creating Non Default Themes in Magento
Welcome to this blog.
Today we are going to discuss non-default themes in magento. We all knows magento is a powerful eCommerce platform where you can easily build your stores. If you want to work on magento then you need to understand it's fil...
Woocommerce Or Magento - What to use and when?
Magento and WooCommerce are currently the top two frameworks in use for e-commerce websites over the web. Both are backed by strong open-source communities developing plugins for various functio...
Set custom shipping method in Magento
In magento you can add custom shipping in your website by writing some custom code , lets first go through how shipping work in magento ,
When magento looks for available shipping methods, Magento first collects all available shipping methods...
How to Speed Up Your Magento site
In magento you can improve website speed by doing some small tricks, Below are the 5 Different techniques to boost magento site, Just do the following steps to achieve it:
1) Enable Flat Categories and Products Options: Go to the Magento Admin...
How to add categories to top navigation bar in Magento?
To add category in navigation bar go in app/design/frontend/rwd/default/template/page/html and open file topmenu.phtml
now find -
<?php if($_menu): ?>
<nav id="nav">
<ol class="nav-primary">
<?...
Structural and content blocks in Magento
Magento is the top eCommerce framework. It offers great flexibility with file structure. Magento uses elements like observer, block, blocks, template, layout, skins, theme and interface.
A Magento page is a combination of Structural Block and ...
How to add an attribute for product in magento
Whats an attribute in Magento?
An attribute in Magento is defined as any property of a product. This includes product id, product title, sku, images, description everything! and you can add as many attributes as you need.
How to create an a...
Display featured product in magento
To show a featured product first we need to set products as featured . To do so we need to create the product attribute named as "featured".
Create an attribute-
1) Create a new attribute by going to Catalog > Attributes > Manage Attr...
Magento layout files and structure
What Are Layout Files?
As the denomination suggests, layout files are subsidiary in rendering front pages of Magento. Layout files are XML files that reside in app > design > frontend > your interface > your theme > layout.
Her...
Update cart quantity not working in magento
Issue to update shopping cart quantity in magento -
To solve the issue go to your theme's cart.phtml file find the form tag then
add
<?php echo $this->getBlockHtml(\'formkey\') ?>
after start form tag like...
add 'in stock' filter in product collection in magento
Add 'in stock' filter in product collection in magento
To get product that is in stock apply the below filter to your product collection -
$productDetails = Mage::getModel('catalog/category')->load($cat_id)->getProductCollection()...
Could not determine temp directory, please specify a cache_dir manually
"Could not determine temp directory, please specify a cache_dir manually" in Magento
Some times this error occur when you transfer the code to your server. This error mostly occur with Shared Server.
To Solve it follow the below steps - ...
Update quantity of product programattically in magento
Update quantity of product programmatically in magento
//----------update Quantity---------
$prod= Mage::getModel('cataloginventory/stock_item')->loadByProduct($productid);
$prod= $prod->getId();
$prod->setData('manage_stock', 1);
...
Delete Test Sales/Order data from Magento
To **delete the test sales/Order data from magento** run the below queries in your magento database --
SET FOREIGN_KEY_CHECKS=0;
##############################
# SALES RELATED TABLES
##############################
TRUNCATE `sales_flat_c...
Print query in magento
/----------Get products collection --------------/
<p>$allproducts = Mage::getModel('catalog/product')->getCollection()->addAttributeToSort('name', 'ASC');;</p>
It will return you total products, sorted by name i...
Features for an e-Commerce Online Store
What is an e-Commerce?
e-Commerce is doing business online and electronically. e-Commerce is about buying and
selling products and services on the Internet. The sellers are individuals, small
businesses or large corporations. The buyers are...
Why to prefer Magento over Zen cart
As eCommerce market in India is about to grow over $24 Billion USD by the end of 2015.To grab the opportunity of this growing market there are many eCommerce stores are coming up and each facilitating new features to make the user experience gr...
Programmatically create coupon codes in Magento
Create backup for your database and project directory
2.create a form to post the coupon code information.
such as
<div class="descriptionBox">
<h2>Create New Coupons</h2>
...