Code Red Posted May 24, 2007 Share Posted May 24, 2007 I want to be able to add a checkbox next to each product in the product_listing module. This in itself is straightforward enough, but I want to be able to make selections across several results pages. Now if this was a standard form with a "submit" button there would be no problem with that, but the product listings are navigated using the $listing_split links at the bottom of the page, each with a different action. How do I incorporate a form submit command into these links (or otherwise GET or POST the products selected on that page onto the next page) but that still allows them to move back/forward through the listing pages as normal? I've had a look at the Compare Products contribution on the site, but I don't like the way it's handled - each click of a checkbox causes a form to be processed and the page to reload, which is pretty laborious if you want to make lots of selections on a page. Any ideas? Quote Link to comment Share on other sites More sharing options...
Code Red Posted May 24, 2007 Author Share Posted May 24, 2007 Just had a thought - could I use sessions to store this data? I've never done anything with sessions before and don't even understand how they work so I'm stabbing in the dark here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.