Magento add new class accourding to your module and you

add class with php

if ($root = $this->getLayout()->getBlock('root')) {
    $root->addBodyClass('whatever');
}
 
and xml
 
<reference name="root">
    <action method="addBodyClass"><classname>whatever</classname></action>
</reference> 
Puneet Kumar Magento Developer

stiki menu jquery simple

Puneet Kumar Magento Developer

Php mail script get offen error for special caractor we get solutions

php subject missing special character missing solved

$subject = “=?ISO-8859-15?Q?”.imap_8bit(“Deine Buchung für die Allgäuer Berufsoffensive”).”?=”;

Puneet Kumar Magento Developer

Magento Mask product set attribute value

Magento Mask product set attribute value

Puneet Kumar Magento Developer

States if India not displaying in dropdown list during checkout process in magento 1.7.0.2

States if India not displaying in dropdown list during checkout process in magento 1.7.0.2

Puneet Kumar Magento Developer

magento log clear query

Puneet Kumar Magento Developer

ruppee simbale code

Puneet Kumar Magento Developer

Export MySQL to CSV (php script)

Puneet Kumar Magento Developer

Magento tranjectional mail with variable by template id

Magento tranjectional mail with variable by template id
Puneet Kumar Magento Developer

Magento Group product configrable product assign prices

Looks like you are using SCP or the SimpleConfigurable products extension. That is known to cause issues. Please try the following:

comment out lines 104-106 of /skin/frontend/base/default/js/scp_product_extension.js. However this may affect how SCP operates.
so this code:

Product.Config.prototype.updateFormProductId = function(productId){
if (!productId)
{ return false; }
var currentAction = $(‘product_addtocart_form’).action;
newcurrentAction = currentAction.sub(/product/d+//, ‘product/’ + productId + ‘/’);
$(‘product_addtocart_form’).action = newcurrentAction;
$(‘product_addtocart_form’).product.value = productId;
};

looks like this:

Product.Config.prototype.updateFormProductId = function(productId){
if (!productId) { return false; }
var currentAction = $(‘product_addtocart_form’).action;
//newcurrentAction = currentAction.sub(/product/d+//, ‘product/’ + productId + ‘/’);
//$(‘product_addtocart_form’).action = newcurrentAction;
//$(‘product_addtocart_form’).product.value = productId;
};

Puneet Kumar Magento Developer