Tags » Magento

cache problem in footer magento

copy

1 app/code/core/Mage/Page/Block/Html/Footer.php

to

1 app/code/local/Mage/Page/Block/Html/Footer.php

and just comment out the following lines:

1 //$this->addData(array(

2 //    'cache_lifetime'=> false,

3 //    'cache_tags'    => array(Mage_Core_Model_Store::CACHE_TAG, Mage_Cms_Model_Block::CACHE_TAG)

4 //));

Magento

Favorites On Our Bookshelf: Free Ebooks From the Daily Post

Looking for some daily writing inspiration? Need some fundamentals to improve your photography? How about ideas on how to grow your audience? Look no further than our free ebooks, all of which come in three great flavors: .mobi, .pdf, and .epub. 181 more words

Writing Prompts

Chetan reblogged this on Web Designer.

Call to a member function getOptions() on a non-object in magento

It very simple.

Please the following files and folders need their permissions with 777

/var/.htaccess
/app/etc
/var

Magento

How to make Bootstrap Carousel display WordPress Dynamic Content

When code from Twitter’s Bootstrap is not working, one of the main culprits is in linking the files up correctly. It seems to be especially common when adding Bootstrap javascript plugins to a WordPress theme. 1,443 more words

Magento

Magento:Get the attribute set name of a product in magento

If you want to know the attribute set name to which your product belongs you can use the following code to know.

$attributeSetModel = Mage::getModel("eav/entity_attribute_set"); 15 more words

Magento

Custom Start Number for Order Numbers in Magento

There is a table in the database which stored increment id of order.
It is called “eav_entity_store” table.
You can check which entity type id belongs to which entity by looking at 
eav_entity_type table.
50 more words
Magento

Get all products that are marked as featured

<?php

// some helpers

$_helper = $this->helper(‘catalog/output’);

$storeId = Mage::app()->getStore()->getId();

$catalog = $this->getLayout()->createBlock(‘catalog/product_list’)->setStoreId($storeId);

// get all products that are marked as featured

$collection = Mage::getModel(‘catalog/product’)->getCollection(); 287 more words

Magento