Archive for the ‘Magento eCommerce Tips’ Category

How to Set Shipping Options For Customers during Checkout

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/how-to-set-shipping-options-for-customers-during-checkout’,size:’large’} First,Login as admin and in the admin Home Page select  System ->Configuration.
Under the Configuration tab on the left Side Select Shipping Settings.Here you can Find two options Origin and Options.From that you Can Change Settings Such as Country,Regional,etc.
Now Select Shipping Methods next to Shipping Settings.Under that you can find [...]

Magento write custom log messages

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/magento-write-custom-log-messages’,size:’large’} A quick debugging tip for developers. You can write custom messages into Magento’s system log  or exception log – helpful for knowing the current variable or object state etc.
How to enable log
Admin > System > Configuration > Developer > Log Settings
Set “Enabled” to “Yes”
Code to write into the log
Mage::log(“Hello”);
Mage::log(“Hello [...]

How to give Custom Options for a Product in Magento

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/how-to-give-custom-options-for-a-product-in-magento’,size:’large’} In this article I want to give some custom options to my product named “Linux”
Select Product from Catalog -> Manage Products
On the Left side you can take “Custom Options” inside “Product Information”
Click on the button “Add New Option”
You can give as follows:
Title : Company
Input Type : Drop Down
Is Required [...]

Magento enable contact form, add custom field, link to top menu

var fbShare = {url: ‘http://sree.cc/magento_ecommerce_tips/magento-enable-contact-form-add-custom-field-link-to-top-menu’,size:’large’} How to enable the default Magento contact form?

System > Configuration > Contacts
Click the ‘Contact Us’ section on this page. Set ‘Enable Contact Us’ to ‘Yes’
Click the ‘Email Options’ section on the same page, just under it. Set the email address to which the comments should come, subject and email [...]

Magento – Problem with logging into “Admin” section after fresh installation

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/magento-problem-with-logging-into-admin-section-after-fresh-installation’,size:’large’} Try the following steps,
1. Try accessing your admin using your ip (if it is localhost, try 127.0.0.1).
2. If you cant get around with the above step then as a last step try the following,
Navigate within your Magento database to the MySQL table core_config_data and look for a row with [...]

Magento, Fatal Error while installing

var fbShare = {url: ‘http://sree.cc/xampp/magento-fatal-error-while-installing’,size:’large’} I got the following fatal error while trying to intall Magento 1.3.2.4 in XAMPP 1.7.3
Fatal error: Method Varien_Object::__tostring() cannot take arguments in C:\xampp\htdocs\magento\lib\Varien\Object.php on line 488
Follow the steps given below to fix this issue:-
1)File: /lib/Varien/Object.php (Line 484)
Change from
public function ___toString(array $arrAttributes = array(), $valueSeparator=’,’)
To this
public function __invoke(array $arrAttributes [...]

How to Setup a Multiple Currency Magento Shop

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/how-to-setup-a-multiple-currency-magento-shop’,size:’large’} Setting up a Multiple Currency for your Magento Shop is very easy to do. These are the basic steps to do that.
Login as admin and select System->Configuration, then select ’Currency Setup’ fromGENERAL section, then select Base currency, Default display currency, allowed currencies (press Control Key and Click the needed [...]

Database Concepts (How to write a Query?)

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/database-concepts-how-to-write-a-query’,size:’large’} Retrieving database information in Magento can be a bit complicated. Technically it is possible to write raw SQL statements to load entities and all their associated attribute values. However due to the EAV database design it is difficult to write query statements to get exactly what you want. Utilizing [...]

Some Important Functions: getModel(), getData(), getSingleton()

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/some-important-functions-getmodel-getdata-getsingleton’,size:’large’} We will be looking into some important methods used frequently in Magento like getModel(), getData(), getSingleton()..
getModel() (To create an instance of a Model class) :
The getModel() function is used to create an instance of a Model class. For example
$Product = Mage::getModel(’catalog/product’);
would basically tell Magento to create an instance of [...]

How to set minimum order amount in Magento

var fbShare = {url: ‘http://sree.cc/magento-ecommerce-tips/how-to-set-minimum-order-amount-in-magento’,size:’large’} Login as admin, then select System->configuration, then select ‘Sales‘ from left Nav and click on ‘Minimum order amount‘.
Then select Yes from Enable dropdown, enter Minimum order amount, enter message and also enter error message that will be shown in shopping cart.