Drupal 6 Ubercart validation of item number in cart

IN PROGRESS
Bids
3
Avg Bid (USD)
$53
Project Budget (USD)
$30 - $50

Project Description:
I have a Drupal6 site using ubercart 6.x-2.7.

I need to validate the number of items in cart before they go to checkout page (from "example.com/cart" to "example.com/cart") when a user press "Checkout" button.

<case 1>
If the number of the item in the cart is less than 3 I need to show a popup message "Are you sure you want to proceed with only 3 items?" and the user must press OK button to go to the checkout page.

<case 2>
if the number of the item in the cart is more than 5 I need to show a popup message "You can't proceed with more than 5 itmems at the same time please remove some items from your cart" and prevent users from going to checkout page untill the user has only less than 5 items in the cart.

One important thing is that when the user manually type the URL "example.com/cart/checkout" the validation must be applied to it also or the user must be redirected back to "example.com/cart". I trid this module http://drupal.org/project/uc_moq but it doesn't validate when the user goes to "from exmaple.com/cart" to "example.com/cart/checkout"
and just from "exmaple.com/cart/checkout" to "example.com/cart/checkout/review"

I need somebody that can fix this module for me, or ideally write a custom module with javascript code I can implement.

Thanks.

Skills required:
Drupal, Javascript, jQuery / Prototype, PHP
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 50
in 1 days
Hire Ayeshrajans
$ 40
in 1 days
Hire zeet2020
$ 70
in 5 days