Jump to content

Request array data with Ajax [Prestashop 1.7]


GaShin
 Share

Recommended Posts

I need help with the use of ajax in my case. I override the ProductController class in a module that I customized and added a array that included the carriers of the product.

I direct this data in the template product.tpl and I use Bootstrap to display a link that opens a modal where the data is displayed.

Capture.PNG.2c3b1d72187438e7c773937d90ed5a28.PNG

And I would like to have help using ajax so that the content of the modal updates without updating the page please.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More