Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Must "Accept terms" before submitting the order

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 11-29-2009, 04:40 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Must "Accept terms" before submitting the order

Quote:
Originally Posted by Pyro
1.) Is this mod supposed to add two checkboxes? One at the "personal details" page and one at the "place order" page?

No, there is only one check box, at the "submit/place order" page.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote

The following user thanks Zaja for this useful post:
Pyro (11-29-2009)
  #102  
Old 11-29-2009, 08:40 AM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: Must "Accept terms" before submitting the order

Zaja,


Thanks alot! [=
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #103  
Old 12-05-2009, 06:57 PM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Re: Must "Accept terms" before submitting the order

Thanks Zaja for the wonderful Mod.

I have installed it as per the directions and for some reason, my Submit Button stays the same regardless if I check the checkbox or leave it uncheck. I surely can't click on Submit, if the Checkbox is unchecked but, it doesn't appear to be disabled as depicted in the Demo. Am I missing something in the installation?

Also, I was wondering if instead of disabling, what will I need to change if I want to popup an alert Box if the customer tries to click Submit without checking the checkbox.

Thanks once again for sharing such a wonderful mod.

Regards,
Manish
__________________
X-Cart: 4.2.1
Reply With Quote
  #104  
Old 12-07-2009, 03:54 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Must "Accept terms" before submitting the order

Quote:
Originally Posted by manishp
Am I missing something in the installation?
It is impossible to say without seeing your modification(tpl file).
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #105  
Old 12-07-2009, 04:51 PM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Re: Must "Accept terms" before submitting the order

Here are the files. 2 are from the must_accept_terms folder which came with the patch and the 3rd one is checkout_3_place.tpl from Fast Lane Checkout.


must_acc.tpl

button.tpl

checkout_3_place.tpl


Thanks so much for replying back.
__________________
X-Cart: 4.2.1
Reply With Quote
  #106  
Old 12-09-2009, 08:46 AM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default Re: Must "Accept terms" before submitting the order

Great!! Works excellent on 4.3
Thank you

Tammy
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #107  
Old 12-10-2009, 07:10 AM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Re: Must "Accept terms" before submitting the order

Quote:
Originally Posted by manishp
Here are the files. 2 are from the must_accept_terms folder which came with the patch and the 3rd one is checkout_3_place.tpl from Fast Lane Checkout.


Attachment 1752

Attachment 1753

Attachment 1754


Thanks so much for replying back.

Looks like the button looks disabled in IE but not in Firefox. However, using the same Firefox, when I use your demo, the button does look disabled. Did you make any changes to get the appearances of the button to appear as disabled in Firefox as well?
__________________
X-Cart: 4.2.1
Reply With Quote
  #108  
Old 12-10-2009, 09:03 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Must "Accept terms" before submitting the order

Quote:
Originally Posted by manishp
Did you make any changes to get the appearances of the button to appear as disabled in Firefox as well?
No, I'm not sure why you have problem in Firefox, your modification looks fine. You can also test using Opera, Safari or Chrome.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #109  
Old 12-12-2009, 08:13 AM
 
manishp manishp is offline
 

Advanced Member
  
Join Date: Jul 2009
Posts: 41
 

Default Re: Must "Accept terms" before submitting the order

Quote:
Originally Posted by Zaja
No, I'm not sure why you have problem in Firefox, your modification looks fine. You can also test using Opera, Safari or Chrome.

Chrome also works the same way for me

So, I put on my thinking cap ON and edited your method to throw an alert if the checkbox is not checked and the customer clicks on Submit. A nice change will probably be for me to show and hide a div section right above Submit, so that rather than an alert, users see a message.

Thanks so much Zaja for helping me out and for your prompt responses. I really appreciate all your help.
__________________
X-Cart: 4.2.1
Reply With Quote
  #110  
Old 12-15-2009, 12:24 PM
  littlebird1111's Avatar 
littlebird1111 littlebird1111 is offline
 

Advanced Member
  
Join Date: Dec 2009
Posts: 45
 

Default Re: Must "Accept terms" before submitting the order

Thank you Zaja! I am a total newbie and this mod was so easy to install.

Does anyone out there like to display your Terms & Conditions directly on the Checkout page (so there's more chance people actually read them)? If so, please share the code you use!
__________________
X-Cart Gold 4.2.2
X-Special Offers
X-AOM
X-FancyCategories
X-Affiliate
BCSE Point of Sale Module
BCSE Address Book
BCSE Preorder Backorder Module
RubyMods FedEx Module
Rubberneck's Endicia/Dazzle Module
Lots of custom work
www.mccombsplan.com/store
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:04 PM.

   

 
X-Cart forums © 2001-2020