guys I'm adding minicart into my custom footer and its not updating on addtocart or page reload nor the popup on minicart click opens when I click it, not giving any exception or error.

I'm using this code to call it in my footer :

<?php  echo $this->getLayout()
          ->toHtml(); ?>

I'm using Porto theme and I have extended Porto to my custom theme, minicart is working in header but when I try to use it in footer it stops working. I don't know what wrong with it.

see the screeenshort below: enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.