Jump to content

Quick view in product-list and cart redirect


theDoris

Recommended Posts

PS v.1.6.1.X

 

When in category page I click on quick view button and in popup window click button Add to Cart I am redirect to cart page, the same action in product page show me popup with message "that product was added corectly to cart". Which file I have to change to enable it also in quick view?

 

I already try switch file ajax-cart.js from deafult theme but no result.

Link to comment
Share on other sites

This is not problem with button and not problem with attributes. Problem is when I add to cart product in single product view for example:

 

In this page when I click add to cart: http://demo.posthemes.com/pos_domino/en/hair/1-faded-short-sleeves-tshirt.html after click show up popup with confirmation: Product successfully added to your shopping cart

 

But when in the same product but in category page http://demo.posthemes.com/pos_domino/en/12-hair I click on quick view button there is load thesame page as previous in modal window but add to cart button work different it is redirect customer to cart page.

 

Now I want to find file where this redirect is because I don't wont redirect customer to cart.

Link to comment
Share on other sites

I'm testing Prestashop 1.6.1.14 in a local installation.

I've no tune the code of the default installation, in any way.

In my case, with these settings, it works like the way you say:

 

Modules --> Block Cart --> Cart Ajax = NO
Preferences --> Products --> Redirect after adding product to cart = Previuos page

Link to comment
Share on other sites

This is not a solution because I need ajax cart, customer want to have information that they add product to cart. I just want to know in which file is redirect from quick view page after click add to cart button.

Link to comment
Share on other sites

  • 3 months later...

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