Archive | February, 2011

25 February 2011 2 Comments

[Magento] Disable Compare products functionality

[Magento] Disable Compare products functionality

Yesterday i was working with Magento Open Source and i am in need to disable the compare products in Magento. Client does not want the compare products functionality of Magento so i have no choice other than disable it.

24 February 2011 0 Comments

[Magento] Access denied issue

[Magento] Access denied issue

You must be facing Access deined issue when you work with Magento site. I am facing such issue frequently and it was due to admin privileges. This error is due to lack of permission set for admin. You can be out of the issue by either of the below way.

23 February 2011 0 Comments

[Magento] Configure/Move site to new domain

[Magento] Configure/Move site to new domain

I am working with Magento and i need to move the site from one domain to another domain. Configure Magento to new Domain or Move Magento to New Domain by just editing 2 fields of database. You can open your Magento Database and follow the below steps.

8 February 2011 2 Comments

[jQuery] Validation of Input array Elements using jQuery

[jQuery] Validation of Input array Elements using jQuery

jQuery is one of the popular javascript library and becoming more and more popular as days passes. One of the javascript library of jQuery is validation for HTML forms. I always prefer to use jQuery validation. In one of my project, i was facing an issue with validating array of input elements using jQuery.

8 February 2011 1 Comment

[Magento] How to Write MySQL Query

[Magento] How to Write MySQL Query

Magento have a wide core functions and you dont need to write mysql query in order to get data from database. In some wired situation where you need to write a Mysql querym you can simple write below two line and you are done.

8 February 2011 0 Comments

[CakePHP] Import a Controller using App::import()

[CakePHP] Import a Controller using App::import()

Have you ever use controller inside another controller(two controllers) in CakePHP ? If you are looking for the same thing, you are at the right place. I was working with CakePHP and i need to use a member info method of member controller in order controller(two controller in CakePHP)

8 February 2011 0 Comments

[Magento] Submit Form not working in Magento Admin

[Magento] Submit Form not working in Magento Admin

If you have made any form in Magento Admin panel, you might face an issue with submitting a form. Submit Form was not working for me and i found that it needs form_key in order to submit a form.

8 February 2011 0 Comments

[Magento] Get Products by an attribute

[Magento] Get Products by an attribute

I need to search all products by a product attribute in Magento. Magento provides a loadByAttribute function which gives all products match the passed attribute. You just need to pass attribute name and its value in the function.

7 February 2011 0 Comments

[jQuery] Get Option text of Selectbox using jQuery

[jQuery] Get Option text of Selectbox using jQuery

In my previous post, i mentions how to get option text using javascript. If you are using jQuery than this is more easy than taking option text (selected text) using javascript. Look at below code to get selected text of dropdown using jQuery.

7 February 2011 0 Comments

[Magento] How to Get Cart Quantity

[Magento] How to Get Cart Quantity

Generally for shopping cart, we are showing shopping cart basket overview in header so customer can easily come to know about his/her shopping basket. Are you working with Magento and need to know how to get Cart Quantity ?

Freelance PHP Developer