Completed

Drupal 6 Ubercart validation of item number in cart

This project was successfully completed by Ayeshrajans for $40 USD in a day.

Get free quotes for a project like this
Employer working
Completed by:
Project Budget
$30 - $50 USD
Completed In
1 day
Total Bids
3
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 "[url removed, login to view]" to "[url removed, login to view]") 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 "[url removed, login to view]" the validation must be applied to it also or the user must be redirected back to "[url removed, login to view]". I trid this module [url removed, login to view] but it doesn't validate when the user goes to "from [url removed, login to view]" to "[url removed, login to view]"
and just from "[url removed, login to view]" to "[url removed, login to view]"

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

Thanks.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online