I can see in phtml files some tests like:
<?php if ($this->helper('wishlist')->isAllow()) : ?>
I want but to know where is set this variable (isAllow or not)?
I am using Magento ver. 1.7.0.2
Thanks a lot.
It gets set on
system > configuration > wishlist > general(General Options) > active(Enable)
app/code/core/Mage/Wishlist/Helper/Data.php line 192
public function isAllow()
{
if (Mage::getStoreConfig('wishlist/general/active')) {
return true;
}
return false;
}