I am facing issue of TypeError: settings.$elementF.fotorama is not a function sometime on product details page.

This question is duplicate of : Adding to cart breaks fotorama on page reload , Magento 2 : settings.$elementF.fotorama is not a function etc

This question is asked before but still not found any proper solution for this. Please let me know answer if anyone solved this.

  • did you find solution? please add it if you have – Ashar Riaz Feb 12 at 11:23

i'm also facing the same issue, its working fine for me when i added below code :

path - app/design/frontend/[vendor]/[theme_name]/requirejs-config.js

var config = {
    shim: {
        'fotorama/fotorama': {
            deps: ['jquery']
| improve this answer | |
  • Did the same but still facing the issue. – zed Blackbeard Feb 5 at 12:53
  • @anas I am facing the issue still too. – gajjala sandeep Jun 2 at 15:38

Your Answer

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

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