Most Common & Frequently Used PHP functions in Magento CMS

Magento is a very highly effective and thus a little bit challenging to theme CMS. It is designed on the Zend framework, and it often becomes a challenging task to…

Read more »

Magento: Programmatically Add Bundle Product to Cart.

Recently we came across a task that among other things required manipulation of bundle products in Magento. Here is little code snippet that helped Programmatically adds bundle product to cart….

Read more »

Magento: Programmatically Add Grouped Product to Cart

Adding simple products to cart through PHP code is easy to understand and pretty straightforward. You just need to call the $cart->addProduct() function with the product_id and quantity as parameters….

Read more »

Magento: Programmatically Add Configurable Product to Cart With Custom Options.

Assume we want to add a configurable product that has custom options. Lets took an example for suppose our product is a T-Shirt and its coming colored version. Each color…

Read more »

Magento Programmatically Add Product to Cart (For Simple Products).

Sometimes, customers specifications exceed the defaults built into the Magento. We need to add products into cart programmatically in a controller. Below are a few code snippets which can be…

Read more »

Magento: Show minicart sidebar with totals on checkout.

One of the great features in default Magento is one-page checkout. However, the bad factor is that you can see actual cart totals only on the last phase of check…

Read more »

How to Format price in Magento?

There are a couple of methods to format price in Magento. The easiest and most used is:

For Example:

Sometimes you don’t need currency symbols in your prices,…

Read more »

Magento: Getting the admin panel URLs

A page in Magento’s administration panel works similar to front-end pages, there is an admin controller for each of all pages in the admin panel. The controller resides in the…

Read more »