Jump to content

Inconvenient with ajax in own theme when adding a product to the cart


lordvalor

Recommended Posts

Inconvenient with ajax in own theme when adding a product to the cart:


Greetings. Today I have made a theme of my own. I have used Prestashop in a vagrant box and everything works correctly, the problem is when I upload it to the server, the only problem is that when I add a product to the cart, I add it but it does not show the popup with the product I am adding , As well as the predictive text in the search box. I have reviewed the apache configuration and everything looks fine with ajax in apache.

In local use php7.1 and apache all over ubuntu

On the AWS server I have php7.0-fpm with apache also on ubuntu.


I sincerely hope any advice.
Thanks in advance.

Link to comment
Share on other sites

  • 2 months later...

Hi there,

 

I'm having the same problem.

Did you get to the way to fix it?

 

Well, my solution was to add the content of /modules/ps_shopping_cart/ps_shopping_cart.js on to my custom.js theme's file.

Kind of weird solution, the original .js file was always loaded in my pages, but not doing his job on the server side. Anyway, I suppose it's a theme problem.

 

Hope this helps somebody. Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...