Jump to content

PS1. 7 remove add to cart pop up


ITFreak

Recommended Posts

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

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

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

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