Community Add-Ons

Maintainers: giz286sim
Add file to this package
Top » Features

Hide Checkout Submit and Display Progress Bar
for osCommerce Online Merchant v2.2

This add-on is register_globals compatible

This contribution will hide the submit button on checkout_confirmation.php when it is clicked. It will then display an image (the one I have included is a progress bar) so that the customer knows to wait and does not wonder if the order was submitted (this image is not clickable). This prevents double orders because the customer is unable to click the submit button more than once as it is not even visible.

This could easily have been done with a regular form submit button (instead of an image), but that wouldn't match your site design and would kind-of defeat the purpose.

Credit goes to multiple coders on message boards around the internet. I did not invent the code that makes this contribution work - only put together pieces of code found all around that would make it work.

Legend:  Download   Report
Expand All / Collapse All
Hide Checkout Submit and Display Progress Bar giz286sim 10 Jan 2008  

This contribution will hide the submit button on checkout_confirmation.php when it is clicked. It will then display an image (the one I have included is a progress bar) so that the customer knows to wait and does not wonder if the order was submitted (this image is not clickable). This prevents double orders because the customer is unable to click the submit button more than once as it is not even visible.

This could easily have been done with a regular form submit button (instead of an image), but that wouldn't match your site design and would kind-of defeat the purpose.

Credit goes to multiple coders on message boards around the internet. I did not invent the code that makes this contribution work - only put together pieces of code found all around that would make it work.