ITFreak Posted August 31, 2018 Share Posted August 31, 2018 Hello, I am using prestashop 1.7 and want to disable the pop-up when you click add to cart. I found various tutorials that show how to manipulate the according Javascript file, however I don't have a file called ps_shoppingcart.js. Can someone help me here? I just want to replace the pop-up by calling a custom Javascript function that shows my shopping cart. Regards Link to comment Share on other sites More sharing options...
Knowband Plugins Posted August 31, 2018 Share Posted August 31, 2018 The default cart popup comes through the ps_shoppingcart module so ps_shoppingcart.js must be there. Kindly check the ps_shoppingcart.js file on the following path i.e. modules/ps_shoppingcart/ps_shoppingcart.js Also, Kindly disable the ps_shoppingcart module & check if pop up is still coming (to verify whether this pop up is coming through this module OR not) Link to comment Share on other sites More sharing options...
ITFreak Posted August 31, 2018 Author Share Posted August 31, 2018 Hello, I will check if there is a js in the prestashop /modules, i only checked in my custom theme structure. How could I override the js in the default prestashop's modules/ directory? I don't want to chagne 'core' files, instead I want to replace them. Regards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now