appcodecoreMageCoreModelSessionAbstractvarien.php comment following line // call_user_func_array(‘session_set_cookie_params’, $cookieParams);
Useful Tricks
top.phtml in app/design/frontend/default/yourtheme/template/catalog/navigation/
<script> setTimeout(function(){ location.href = ‘<?php echo $this->getUrl() ?>’},5000);</script>
The solution for this modify the core Magento code. Open the page app/code/core/Mage/Core/Model/Session/Abstract/Varien.php. Comment out the lines 80 to 83….
<block type=“reports/product_viewed” name=“reports.product.viewed” as=“recently_viewed” template=“reports/product_viewed.phtml”> <action method=“setColumnCount”> <columns>4</columns> </action> <action method=“setItemLimit”> <type>recently_viewed</type><limit>4</limit> </action> </block>…
<?php if(Mage::getSingleton(‘customer/session’)->isLoggedIn()): ?> <?php $this->setProduct(Mage::getModel(‘catalog/product’)->setStoreId(Mage::app()->getStore()->getId())->load($_product->getId()))?> INK<?php echo $this->getTierPriceHtml() ?>VK<?php echo Mage::helper(‘core’)->currency($_product->getFinalPrice());?> <?php else:…
require_once ( “../app/Mage.php” ); umask(0); //Mage::app(“default”); Mage::app(); $session = Mage::getSingleton(“customer/session”); if($session->isLoggedIn()){ var_dump($session->getData()); }
change <?php //echo $_order ?> To <?php echo $this->__($_order) ?>
<?php $_helpernew = Mage::helper(‘catalog/category’); $_subcategories = $_category->getChildrenCategories();?> <?php if (count($_subcategories) > 0): ?> <ul> <?php foreach($_subcategories as…
<script type=”text/javascript”> function setValue(){ document.co-shipping-method-form.s_method_freeshipping_freeshipping.checked=true; } window.onload = setValue(); </script>