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.

Thanks a lot.

1 Answer 1


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;
  • 1
    Without the first paragraph this would be a good answer. Why override if you can just use the configuration? Jul 5, 2015 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.