Jump to content

Pass php variable from my module file to product.js file in themes


Recommended Posts

You haven't even stated what changes you made to the core product.js file, or why you did that.  There might be ways to accomplish it but it depends on the version of Prestashop that this change will be used on

However instead of changing a core theme file product.js you should find a way to implement your javascript code inside your own module

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...