Skip to content

404 Not Found on ajaxCall. #6

Description

@mmortezzDev

Hello jdanthinne,
I would like to thank you for this awesome module for prestashop. I find it very useful to be able select multiple values for each feature. But I have a problem with it. When I'm selecting any value from the available features in blocklayerednavigation tab on Category Page I see only loading.gif. In browser console I see error after ajaxCall:

"NetworkError: 404 Not Found - http://siteURL/modules/advancedfeaturesvalues/blocklayered-ajax.php?layered_id_feature_658=658_62&id_category_layered=25&orderby=position&orderway=asc&n=12true&_=1438432126270"

I've found the .js file where the ajaxCall cannot pass to the success state:
/modules/advancedfeaturesvalues/views/js/blocklayered.js

And if I change the line:
url: baseDir + 'modules/advancedfeaturesvalues/blocklayered-ajax.php',

to:
url: baseDir + 'modules/blocklayered/blocklayered-ajax.php',

It seems like everything is working fine. But I don't understand what's wrong with modules/advancedfeaturesvalues/blocklayered-ajax.php file. You overrides original blocklayered.php file there to achieve something.

Do you have any suggestions what might cause the problems? I can leave the url: path in ajaxCall to blocklayered directory module but you did override the files for some reason so I might miss some functionality this way.

I'm using 1.6.0.14 Prestashop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions