Monday, 2 December 2013

[SOLVED] Magento - fedex not showing all the shipping methods

I was wondering why all the Shipping methods in FedEx which i have selected is not shown on the frontend. Well here is the answer.

FedEx returns the list of shipping methods as a response for our API call. The response is based on the total products weight (sum of all the products weight in cart).

So if the total weight is upto 70lbs Ground Shipping will be shown. If the weight is more than 70lbs you can use Home delivery. And if the weight is above 150lbs you can use freight methods.

Friday, 8 November 2013

Magento- Fedex shipping methods service codes.

There is no proper documentation available for FedEx web services API. I wanted to know the different service codes for shipping. Took a long search, but its is not available even in Fedex website which has examples only with priority shipping methods. So i went on a deep search and found this.

These are the list of FedEx web services API service code values for different shipping methods.


Tuesday, 13 August 2013

Allow specific tags in WYSIWYG editor.

By default magento WYSIWYG editor will strip certain tags from the editor. To allow your tags in WYSIWYG editor you must edit the file under the path 


1. Find var settings = { line and 
2. Add extended_valid_elements : 'nav[style|id|class]'.

In my case i have allowed <nav> tag, and am allowing the attributes style, id etc. Now the nav tag wont be stripped when you add it in admin WYSIWYG editor.

Magento Remove secure url from database.

Removing http(s) by editing databse.

If you cant access your magento admin panel and you need to remove your https, go to 
core_config table 
change the value of web/secure/use_in_frontend to '0' and web/secure/use_in_adminhtml to '0' .

If it is set to '1' your site is https enabled.

Change page titile in magento

Need to add new page title?

Here's a scenario i have faced.

I need to create a new Contact us page regardless of the native contact us page in magento. so i need to add page title for my new contact us page. I have solved it by adding it in XML

<reference name="head">
<action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>

More info:

Magento Google wallet integration

Magento right now have google checkout integration, which can be found on admin panel.
system->configuration->sales(tab)->Google API.

But it is confirmed that Google is shutting down its checkout feature on November 20, 2013. For the website selling physical goods we cannot use Google Wallet feature also as Google Wallet will only entertain payments for digital goods.

So we have to go for other payment methods like Amazon, Paypal etc.