Drupal 6 Ubercart validation of item number in cart

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.


Kemahiran: Drupal, Javascript, jQuery / Prototaip, PHP

Lihat lagi: javascript ubercart drupal, validation drupal6 ubercart, ubercart validation drupal, drupal popup ubercart, drupal validate cart items, type of button in php with code, less than 3 press, code org 6 a, code org 6, drupal ubercart cart validation, javascript less than, validation, javascript validation, drupal 6 to drupal 7, javascript url example, drupal user module, code review javascript, javascript code review time, drupal page user, drupal type, validation page, javascript code validation, javascript validation example, popup javascript code, drupal button

Tentang Majikan:
( 5 ulasan ) Koto-ku, Japan

ID Projek: #1535959

Dianugerahkan kepada:


Hello there, You won't believe that your module is already built! Please see the private message for the demo link. Thank you. Sincerely, Ayesh.

$40 USD dalam sehari
(32 Ulasan)

3 pekerja bebas membida secara purata $53 untuk pekerjaan ini


Please check your PMB. Waiting to serve you. Thanks.

$50 USD dalam sehari
(53 Ulasan)

check your pm

$70 USD dalam 5 hari
(8 Ulasan)