here you go!! echo Mage::app()->getLayout() ->createBlock(‘checkout/cart_sidebar’) ->setTemplate(‘checkout/cart/mini-cart.phtml’) ->toHtml();
Continue reading Magento: Directive for Mini Cart
Leave a CommentIndonesian Magento Developer
here you go!! echo Mage::app()->getLayout() ->createBlock(‘checkout/cart_sidebar’) ->setTemplate(‘checkout/cart/mini-cart.phtml’) ->toHtml();
Continue reading Magento: Directive for Mini Cart
Leave a CommentGo to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory. $cookieParams = array( ‘lifetime’ => $cookie->getLifetime(), ‘path’ => $cookie->getPath(), /* comment this line ‘domain’ => $cookie->getConfigDomain(), ‘secure’…
Continue reading Magento: Backend Login issue on Chrome Browser
Leave a Commentthis is how i did it add to cart: echo Mage::getUrl(‘checkout/cart/add’, array(‘product’=>$_product->getId(),’qty’=>1)) addto wishlist: Mage::helper(‘wishlist’)->getAddUrl($_product);
Continue reading Magento: Create Directive Button Add to Cart & Add to Wishlist
2 Commentsit is very stupid way to create jquery tabs… the CSS code: .product-tabs li a{ float: left; display: block; padding: 20px 0px; width: 187px; text-align:…
Continue reading jQuery: Stupid Way to Create Tabs
Leave a Commentfor attribute type “text field” : $_product->getData(‘attribute_code’) for attribute type “dropdown” : $_product-getAttributeText(‘attribute_code’)
Continue reading Magento: Get Product Attribute Data Dropdown & Text
Leave a Comment