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.


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']

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.