Category: Magento Tutorials

Create custom table magento module

This tutorial explains how to create custom table magento module.The module create a table in the magento database using the install script.

With this module it create a table named ‘customer_form_table’ in the magento database with fields as shown below.

Develop admin module magento tutorial

This tutorial explains how to develop admin module magento. Here I am showing how to create a basic admin module in magento. The module allow the user to add their social media links in the magento admin area.It also create a textarea for adding the contact information.

Instead of adding static block for displaying the social media links this module automatically display social links as block.

Remove item magento cart redirects homepage

This tutorial explains how to fix the remove item magento cart redirects homepage error.When removing an item from the cart using the remove button in the checkout page it redirects to the homepage.The error is due the redirect function in the cartcontroller.php file

The error can be fix by rewriting the core files. In magento for editing the core files we need to create a module.Please create the following files.

Import magento products

The tutorial import magento products.Please go through the main tutorial which import the categories and attributes and also reads the data from the products.csv file.This section explains how to import the products.

The importproducts() function iterate through the array and creates the simple and configurable products.The options.csv file contains the color options corresponding to each products. Based on that it decides whether to create simple or configurable products.