Installing Magento [version 1.4.2.0] on ICDSoft

Web Hosting By ICDSoft.comYou need to follow these steps to install Magento:

1. Download the installation files from the site of the vendor. Magento can be obtained from:

http://www.magentocommerce.com/download

Choose to download the full release of the software by selecting one of the archived packages from the drop-down menu next to “Full Release:” (magento-MagentoVersion.zip, magento-MagentoVersion.tar.gz, magento-MagentoVersion.tar.bz2) and click on the “Download” button.

2. Once you have downloaded the archive that contains the installation, you need to upload it to your hosting space.

You can either extract all the files from the downloaded archive and upload them, or you can upload the archive and use the web hosting Control Panel’s File Manager to extract the package.

The best way to upload big files or multiple files is via FTP. If you are not sure how to upload the files, please visit this page.

If you are installing the application in your main domain, or in a subdomain, you may need to delete the default index.php file first. You can do this either via FTP or through your web hosting Control Panel’s File Manager.

3. You need to create a MySQL database for the Magento application. You can do this through your web hosting Control Panel’s MySQL section. Be sure to create the database in MySQL 5 format.
Continue Reading »

How to completely disable Magento module

Disable Magento module? Easy, in admin panel, click the menu “System” -> “Configuration” -> “Advanced” in “Advanced” Section, select “disable” for the module you would like to disable, and it’s finish, right?

Sorry but … NO! If you disable the module in admin panel, it will only disable the module output, not the module functionalities. The Observer, cornjob, setting in config.xml are still in use and running.
Continue Reading »

How to create coupon code for fixed amount discount

In your selling period, sometimes you would like to make offer for promotion or festival. Here I will show you how to create a coupon code between a specific period for all products and customers with unlimited usage.

In admin panel, click the menu “Promotions” -> “Shopping Cart Price Rules”, then the list for all coupon codes for all websites are shown. Clicking “Add New Rule” button on right hand side and input the following:
Continue Reading »

Magento – Hide the price for a free product using jQuery

In the new version it was moved to the /catalog/product/view/type files. There is a separate file for each product type. Inside those file the line: getPriceHtml($_product) ?> is responsible for outputting the price.

But better yet, this tutorial I will show you how to write a simple jQuery script to change all “$0.00″ to “FREE”

First create a new javascript file and name it ds.js and insert the following code as follow.

jQuery(document).ready(function() {
	jQuery("span").each(function(i, e) {
		if ( (jQuery(e).attr('class') == "price") && (jQuery(e).text() == "$0.00") ) {
			jQuery(e).text("FREE");
		}
	})
})

Now create a folder name called js within your folder and save the following file under it. skin/frontend/default/YOURTHEME/js/ds.js

Simply open your page.xml which located
app/design/frontend/default/YOURTHEME/layout/page.xml
and add the following line

<action method="addItem"><type>skin_js</type><name>js/ds.js</name></action>

Be sure that your magento site had jQuery enable.

Magento Fixed – Description not showing, Change on your old template to work with 1.4.1.1

After the new updates to magento, if your template description field suddenly disappear from the frontend, don’t panic. It’s just a simple line of code change will fix this problem. Open catalog.xml and view.phtml, and you will need to make the following change.

This is the code that magento had changed.
Old line of code, this code can be find under this location,
app/design/frontend/default/YOURTHEME/template/catalog/product/view.phtml or
app/design/frontend/base/default/template/catalog/product/view.phtml

<?php echo $this->getChildHtml('description') ?>

New implementation from magento core for 1.4.1.1

<?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
    <div class="box-collateral <?php echo "box-{$alias}"?>">
        <?php if ($title = $this->getChildData($alias, 'title')):?>
        <h2><?php echo $this->escapeHtml($title); ?></h2>
        <?php endif;?>
        <?php echo $html; ?>
    </div>
<?php endforeach;?>

So next you will need to look for the following code in your template file.
Continue Reading »