PODavies Posted January 15, 2014 Share Posted January 15, 2014 I removed the Add to cart button from the product page to force customers to the product details and set the Add to cart button to redirect to the previous page so it would return customers to the product page. However, clicking on the add to cart button in the product details does add the product to the cart but does not return to the previous page. How can I fix this? I am using Prestashop 1.5.6.0. Link to comment Share on other sites More sharing options...
NemoPS Posted January 15, 2014 Share Posted January 15, 2014 ...wha..? product details /product page...what should be the difference? Also, can you share the code you use for the redirection? I assume javascript? Link to comment Share on other sites More sharing options...
PODavies Posted January 15, 2014 Author Share Posted January 15, 2014 I removed the Add to cart button from the page with the list of products so the customers would go to the product attributes and select the attributes before adding to the cart. But once they have added the product to the cart, I want them sent back to the list of products so they can see if there is anything else they want. The back office provides 2 option to redirect customers after clicking the Add to cart - to the basket summary page or the previous page so I selected the previous page (i.e. the page with the list of products) but it does not work. I do not know anything about the codes, this was done by selecting the options in the back office. Link to comment Share on other sites More sharing options...
NemoPS Posted January 15, 2014 Share Posted January 15, 2014 Try disabling the ajax cart, but I don't think that option is meant to do what you mean. I never used it but I believe previous page means 'stay on the same page' Link to comment Share on other sites More sharing options...
vekia Posted January 15, 2014 Share Posted January 15, 2014 exactly, previous page means that after adding stuff to cart you will see product page, whole process looks like: product page > add to cart > cart > product page 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