Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkbox Next To Each Product In Product_listing.php


Code Red

Recommended Posts

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?

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...