Change in modules\blockcart\ajax-cart.js line 40 //for category product-list page ‘add’ button… $(‘.p_add .ajax_add_to_cart_button’).unbind(‘click’).click(function(){ var idProduct = $(this).attr(‘rel’).replace(‘ajax_id_product_’, ”); var qty = $(‘.qty_ajax_id_product_’+idProduct+’ input’).val(); ajaxCart.add(idProduct, null,…
Change in app\code\core\Mage\Catalog\controllers\ProductController.php After: $categoryId = (int) $this->getRequest()->getParam(‘category’, false); add code: if($categoryId == 0){ $_product = Mage::getModel(‘catalog/product’)->load($productId); $cat_ids = $_product->getCategoryIds(); $categoryId = $cat_ids[0]; }
1. Change in modules\blockcart\blockcart.tpl after line 125: {l s=’Tax’ mod=’blockcart’} {$tax_cost} add code: {l s=’Total without tax’ mod=’blockcart’} {$total_without_tax} 2. Change in modules\blockcart\blockcart.php after line…
Animation in jQuery $(‘#clickme’).click(function() { $(‘#book’).animate({ width: [‘toggle’, ‘swing’], height: [‘toggle’, ‘swing’], opacity: ‘toggle’ }, 5000, ‘linear’, function() { $(this).after(‘ Animation complete. ‘); });…