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….
Classic Blog List
<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>…
require_once ( “../app/Mage.php” ); umask(0); //Mage::app(“default”); Mage::app(); $session = Mage::getSingleton(“customer/session”); if($session->isLoggedIn()){ var_dump($session->getData()); }
<?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:…
<?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>
Here is a code snippet for setting the ‘Continue Shopping’ location to the category listing page of the last product…