Jump to content

[FO] CCC custom js ajax callback


xiparos

Recommended Posts

Hi All,

 

I've read theses posts.

 

 
 
It related to ajax callback in tpl file.
 
following the first post, I've successfully made a ajax callback in a tpl file in a module.
 
Now I want to go further, with regard to CCC performance of the site.
 
How could I put ajax callback function into a separate xxx.js file, which will be called by tpl file, ( not the way illustrated in second post ), more intuitively, the separated xxx.js file called by tpl file would be moved to the footer of the site so that all js files would be CCC by Prestashop into a single js file.
 
Does anyone already made this ?
 
Thanks for your reply.
 
Best 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...