PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, June 30, 2022

[FIXED] how to override a js file which exist in module in prestashop?

 June 30, 2022     prestashop     No comments   

Issue

I am trying to override a js file which exist in module. path - /website/modules/onepagecheckoutps/views/js/front/onepagecheckoutps.js

Is their any way we can override this file ?


Solution

If JS is properly loaded in module you can override it by copying file to this path:

/website/themes/your_theme/modules/onepagecheckoutps/views/js/front/onepagecheckoutps.js



Answered By - Krystian Podemski
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing