8/28/2014

How To Choose The Right CMS For A Web Design Project



Platform is critical.
If you choose the wrong Content Management System (CMS) for a web design project, you could add hours of development time to the project.  And that might be the best possible outcome.  This kind of mistake could kill a web design project, causing stakeholders on both sides a lot of grief.
We asked our Crazy Egg Design Experts how they avoid those problems by choosing the right CMS for a web design project.

7/22/2012

Integration of Secure EBS Payment Gateway in Magento



           Today I’m going to tell you about how to integrate Secure EBS Payment Gateway
 in Magento .


Steps for Integrating Secure EBS Payment Gateway in Magento :

       Secure EBS payment Gateway is default Module in Magento. Despite below, steps
 are help for Understanding or How module is integrated in magento.
You can download the module from below link

( I ) Follow Below steps :
       1)      Copy the folder Secureebs to magento\app\code\core\Mage\
       2)      Copy the file Mage_Secureebs.xml to magento\app\etc\modules\
       3)      Copy the folder secureebs to magento\app\design\frontend\base\default\template\
       4)      Add the file Mode.php inside magento\app\code\core\Mage\Adminhtml\Model\System\
Config\Source\
       5)      Enter your Account Id , Secret Key and select the Mode from the EBS
Payment Method control panel & Enable it.

 ( II ) Finally Need to update below file otherwise we will get Error :
Open File   \app\code\core\Mage\Secureebs\Block\Standard\Redirect.php

( III ) Below code is default code in redirect.php :
$name=$fname.” “.$lname;
$address=$street.”,”.$city.”,”.$state;
$mode=Mage::getSingleton(‘secureebs/config’)->getTransactionMode();
if($mode == ’1′)
{
$mode=”TEST”;
}
else
{
$mode=”LIVE”;
}
 Customize code : (Here we need to add below code)
$secretKey = Mage::getSingleton(‘secureebs/config’)->getSecretKey(); // Our SecretKey
$account_id = Mage::getSingleton(‘secureebs/config’)->getAccountId(); //account ID
$amt = $amount;
$refrence_no = $referenceno;
$return_url = $returnurl;
$mode = $mode;
 $string = “$secretKey|$account_id|$amt|$refrence_no|$return_url|$mode”;
// Should add ” | ” between parameters
 $secure_hash = md5($string); // Encrypt MD5 format
$form->addField(‘reference_no’, ‘hidden’, array(‘name’=>’reference_no’, ‘value’=>$referenceno));
$form->addField(‘amount’, ‘hidden’, array(‘name’=>’amount’, ‘value’=>$amount));
$form->addField(‘mode’, ‘hidden’, array(‘name’=>’mode’, ‘value’=>$mode));
$form->addField(‘return_url’, ‘hidden’, array(‘name’=>’return_url’, ‘value’=>$returnurl));
$form->addField(‘name’, ‘hidden’, array(‘name’=>’name’, ‘value’=>$name));
$form->addField(‘description’, ‘hidden’, array(‘name’=>’description’, ‘value’=>$desc));
$form->addField(‘address’, ‘hidden’, array(‘name’=>’address’, ‘value’=>$address));
$form->addField(‘postal_code’, ‘hidden’, array(‘name’=>’postal_code’, ‘value’=>$postalcode));
 $form->addField(‘secure_hash’,'hidden’,
array(‘name’=>’secure_hash’, ‘value’=>$secure_hash)); // this line need to add

( IV ) Enable Module from Admin panel :
After integrate this module , open magento admin panel , then enable Secure EBS Payment Gateway, and pass your secret Key and account ID.



Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)


1/28/2012

How to edit Email Templates in Magento


Hello Everyone,

               Today I’m going to tell you about how to  edit Email Templates in Magento .In most of the cases we need to add some additional information to the invoice generated(like VAT No, TIN No, Some terms and conditions) or to the new user regarding functionality of our E-commerce portal.In magento there is no such inbuilt functionality available.Hence we have to create our own Email Template and assign it to different funtions.In this tutorial we are goin to discuss the same.

         To create a new Email Template you have to go to 
admin --> system --> transactional emails --> add new template --> choose the base template from the drop down and edit as appropriate.

        Then you can assign the newly created template to proper functionality. For e.g. if you have created new template for Invoice you can assign as follows.Go to
admin --> system --> configuration --> Sales Emails --> Invoice --> Invoice Email Template

 And from the drop down select the template you created for invoice and save config.

Well now the most important step.
- Clear the Cache.
- Go to System –> Cache Management
- Refreh Cache.
- If you have not enabled the Cache OR if it didn’t work even after refreshing the cache, then
- delete the cache folder present inside var (var/cache)



Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)

11/18/2011

How to show cart quantity in magento


Hello Everyone,

              Today I’m going to tell you about how to show cart quantity in magento.In simple words, This tutorial will tell to add cart quantity anywhere in page according to client requirement.For example My clients requirement was to show cart quantity in shopping cart in header as shown here 
Baba N Baby

       For this, you need to Copy paste the following code to your file where you want to show the quantity.For example i wanted to show quantity in header so i need to edit header.phtml file.Similarly you can edit left column, right column etc.

Code to show cart Quantity :

<?php 
  function getCartQuantity () {
   $cart = Mage::getModel('checkout/cart')->getQuote()->getData();
   if (isset($cart['items_qty']))
   return (int)$cart['items_qty'];
   else
    return 0;
  }
  echo getCartQuantity ();  
?> 

 So in this way you can add cart quantity to some image like 





Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)


10/24/2011

How to create multi store in magento



The only changes you have to do which is not given in this video is as follows
Open the index.php file that you have copied to new folder
find the below line:
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
Replace this line by
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'shoestore';
It will automatically take the MageRunCode of shoestore
Similaarly find the following line:
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : '';
Replace this line by
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Save the changes and refresh the index.php file in browser
You are done with Multistore in magento


Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)


10/16/2011

How to remove decimal price in magento

Hello Everyone,

                 Today I’m going to tell you how to remove decimal price in magento.In simple words, This tutorial will tell to change the price from Rs. 121.00 to Rs . 121 for example.
                For this, you need to edit code/core/Mage/Directory/Model/Currency.php


  • Open  code/core/Mage/Directory/Model/Currency.php
  •  Find the following :-
 public function format($price$options=array(), $includeContainer = true, $addBrackets = false)
    {
        return $this->formatPrecision($price, 2, $options$includeContainer, $addBrackets);
    }

on line no 194
change this code to:-

 public function format($price$options=array(), $includeContainer = true, $addBrackets = false)
    {
        return $this->formatPrecision($price, 0, $options$includeContainer, $addBrackets);
    }

0 - Denotes the precision point for price..

But wait, you are still not done. The most important thing is still left.
- Clear the Cache.
- Go to System –> Cache Management
- Refreh Cache.
- If you have not enabled the Cache OR if it didn’t work even after refreshing the cache, then
- delete the cache folder present inside var (var/cache)

You can also refer to the video showing how it actually works




Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)


10/11/2011

Problem while login into the Admin Panel of Magento

Hello People,
Today after installing magento on my local computer i came across a new problem. The Problem was 'i was unable to login the admin panel of magento. It was redirecting me to the same admin login page. If any one of you are facing this problem the here's the solution:

Problem:
I was entering the URL as 'loclahost/magento/admin' after entering the username and password, it was redirecting me on the same page.

Solution:
I replaced 'localhost' in the URL with '127.0.0.1' and so my URL was '127.0.0.1/magento/admin' and after entering the username and password, i was redirected to the admin panel of magento.

hope this helps you.



Start your Ecommerce website at just Rs .10000

Contact : Renderindia Infotech Bangalore
Bangalore Branch Office

110 , 5th cross, ITPL main road , Kundanhalli Colony
 Bangalore :-  560037.
 Mobile no :- 91-8123481528 (Ashish Khadpe)
 Mobile no :- 91-9769941316 (Rehan Sheikh)