| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Checkbox Validation | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Checkbox Validation
This mod is a adaptation of Zaja's must except terms mod http://forum.x-cart.com/showthread.php?t=20597
The differance is that if you do not check the "I agree to the terms and conditions" checkbox you will get a popup warning message. This is for xcart version 4.1.3 it has not been extensively tested so use at your own risk. 1. open skin/customer/main/checkout.tpl and add following code after {capture name=checkout_dialog}: Code:
Code:
Code:
Code:
Code:
Code:
Code:
That should do it, if you find any issues please reply to this thread. |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Checkbox Validation
Is this compatible with EZcheckout?
Thanks
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ----------------------------------------------------------------------------------------------------------------------------------------- Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info |
|||||||||
#3
|
|||||||
|
|||||||
Re: Checkbox Validation
*lol* Warwick (but good question hehe )
Great mod Photo, thanks and thanks to Zaja, but I have a question, I don't know where it's best to post it, if here or in http://forum.x-cart.com/showthread.php?t=20597&highlight=easy+checkout (original mod thread). Instead of having a popup, which could be blocked by pop-up blockers could we make it so that when the user clicks on the "submit order" button without having check-marked the option a new text appears right above the button, perhaps in red colored type indicating "Please click on checkmark and submit order to continue?" (or something to this effect). Thanks
__________________
XCart v.4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|