View Full Version : Intercepting "Add to basket" to show interim page
delgriffith
02-25-07, 06:36 PM
We need to modify the add to basket process on a number of product display pages in order to show a confirmation page where the user can see a summary of the options that they have selected. They will then be able to click "confirm" and at that point the basket will be updated. So rather than reloading the product display page when the user clicks "Add to Basket" we need to pass the form contents to a new confirmation page. No idea how to do that unfortunately. Any pointers would be hugely appreciated. Thanks Ambrose
Vic - WolfPaw Computers
02-25-07, 06:55 PM
Create a new page that handles this and adjust your product page template screen to adjust the Add to Basket hidden input field of Screen=PROD to Screen="CustomScreen".
You will of course, have to know what information to pass from there to the BASK screen, so the correct items and options will show up.
We need to modify the add to basket process on a number of product display pages in order to show a confirmation page where the user can see a summary of the options that they have selected. They will then be able to click "confirm" and at that point the basket will be updated. So rather than reloading the product display page when the user clicks "Add to Basket" we need to pass the form contents to a new confirmation page. No idea how to do that unfortunately. Any pointers would be hugely appreciated. Thanks Ambrose
delgriffith
02-25-07, 08:27 PM
Thanks once again Vic - I had missed the code with the screen name. I'll work on getting everything showing on the confirmation page and then try to figure out how to pass it from there to the BASK screen. Cheers Ambrose
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.