Magento Themes and Magento Extensions

Magento : Add CSS / JS for Specific Category

Posted on March 29th, 2013 | Posted by admin

Magento : Add CSS / JS for Specific Category : This is very well known and general issues and tons of crap tutorial is also there in the internet , here is the simplest solution . Lets say suppose you want to add a css , so create a css file  so i just create a css file customcategory.css inside


.category-description {

    height: 475px !important;
    margin: 0 0 10px;

now add the below code in manage category->choose the category ->custom design and under custom layout update texarea put this

Magento – Print out a category navi with hiding specific categories

Posted on March 28th, 2013 | Posted by admin

Manually print out a category-navigation in a magento frontend template. within “stristr” you can enter an array of category-ids that should be hidden from display.

  1. <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>

Use a Coupon Code for Specific Products – Magento

Posted on March 24th, 2013 | Posted by admin

In our Magento ACP, simply click on Shopping Cart Price Rules (Which is under the top menu “Promotions”) – and then click Add New Rule.
On the left you can see three tabs, in the uppermost one you’ll have to name your Price Rule, choose which website it will be activated on and what customers will see it, and also name the actual coupon code itself.

Then click on the next tab entitled “conditions” which is the important one, as this area specifies which products/categories will be available for the promotion. So, click the little green plus, and then select “Product Attribute Combination” .


Posted on February 24th, 2013 | Posted by admin

’re in a fairly complicated upgrade of a  Magento live store and during the upgrade window, it is necessary to put up a holding page. A simple maintenance.flag file isn’t going to cut it for this process, so cutting off users at the web server is more suitable.

For this particular customer, they have a complex 3 server cluster running a single site with over 240,000 unique visitors per day, so Nginx was a more appropriate choice.


Putting up a maintenance page with a 503 header is required, but in addition to this, to make sure payment gateway IPNs can function correctly, we need to permit access to some URLs (where we do not know the source IP address), eg. PayPal or Ogone. Also, we’ll need to add our own IP address to the allow list.

Load store specific product in Magento

Posted on September 8th, 2012 | Posted by admin

Load store specific product in Magento

Different stores can be set in Magento. A product can be made visible in selected stores.

* get store id
$storeId = Mage::app()->getStore()->getId();
* call the Magento catalog/product model
* set the current store ID
* load the product
$product = Mage::getModel('catalog/product')