In my case, I need to adding shipping cost of Webshopapps Matrix Rates to cart automatically. If you meet the same requirement , you can follow these steps to make it done: 1/Create a xml file to declare new module: app/etc/modules/Inbusiness_Cart.xml <?xml version=”1.0″?> <config> <modules> <Inbusiness_Cart> <active>true</active> <codePool>local</codePool> </Inbusiness_Cart>…
Have you ever stuck with automatically select shipping method in magento ? For example in this tutorial, we assumed that we had only one shipping method : free-shipping. So, we need to set it as default shipping method and ignore shipping step. We can make it done with these simple…
This tutorial will help you to answer the question “How we can Automatically create and assign customer group in magento ?”. For creating and assigning customer group, we have to create : 1/ Create app/code/local/Inbusiness/Group/etc/config.xml <?xml version=”1.0″?> <config> <modules> <Inbusiness_Group> <version>1.0.0</version> </Inbusiness_Group> </modules> <global> <models> <Inbusiness_Group> <class>Inbusiness_Checkout_Model</class> </Inbusiness_Group> </models> <events> <customer_save_after>…
How can we check show payment method magento by using codes ? In default function of magento, the owner store can disable or enable payment method. But in some special cases, for instance, their requirement is disabling this payment method for B2B customer and showing this method for B2C customer….
There are two ways to applying tax class to all products. 1/ The simple way is using update attribute product function of magento Log in to your admin panel, then select : Catalog->Manage Products Then you can click Select All, and from the Actions drop down on the right, choose…
In order to remove favicon completely without replacing it in magento, we need to do 3 steps: 1/ First step : Remove all the favicon from ALL the folders 2/ Remove these codes in : app/design/frontend/default/your_theme/template/page/html/head.phtml <code><link rel=”icon” href=”<?php echo $this->getSkinUrl(‘favicon.ico’) ?>” type=”image/x-icon” /> <link rel=”shortcut icon” href=”<?php echo $this->getSkinUrl(‘favicon.ico’) ?>” type=”image/x-icon” /></code> 3/ The final step is : clear magento caches and session….
Price of product is : 135,00 $ => 135 $ How to remove two decimal digits ? In order to remove decimal digits in price of product magento, we need to custom some code :Go to this file : code/core/Mage/Directory/Model/Currency.php Open code/core/Mage/Directory/Model/Currency.php Find the following code on line no 195 :-…
Have you stuck with count items cart in top cart of magento site ? In my case, I need to remove all items cart when customer place order via frontend magento. After trying remove all items in cart but the number count items in cart is not updated. It remains…
Generally, there are many ways to do it. In this tutorial, I will show you two ways to show date picker on frontend in magento. Both ways have the same ideas : Firstly, we must include all javascript and css which are vital for displaying date picker. As the second,…
I have written an extension support save all items from cart to wishlist in magento. This extension help customers easy to save all the cart items to their wishlist for later order. It supports all kind of products in magento : Simple product, configurable product, bundle product , simple product with…