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
  #91  
Old 10-01-2009, 03:24 PM
  xcel's Avatar 
xcel xcel is offline
 

eXpert
  
Join Date: Nov 2008
Posts: 220
 

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

very cool mod. works with 4.1.9

we have a seperate returns policy page. is there any way to have this...

Clicking "SUBMIT" you agree with our "Terms & Conditions" and "Privacy statement" ...include the verbage "Return Policy" and have it linked to that page?

thanks in advance.

EDIT: Disregard. Figured it out (just edit the txt_terms_and_conditions_note in languages.
__________________
X-Cart Gold Plus 4.6.6

Altered Cart - Checkout One
Altered Cart - Checkout One Payments
Altered Cart - Cash Rewards
Altered Cart - On Sale

Smack Digital - CDSEO
Smack Digital - CDSEO Rich Snippets
Smack Digital - xCMS

The xCart Store - xBanners2

Star Plugins - Cloud Zoom

Heavily Customized by Starts Here Ltd. (UK)
Reply With Quote
  #92  
Old 10-03-2009, 11:50 AM
 
robertswww robertswww is offline
 

X-Adept
  
Join Date: Jul 2003
Posts: 586
 

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

Quote:
Originally Posted by SamsonTS
EDIT: Disregard. Figured it out (just edit the txt_terms_and_conditions_note in languages.
Glad to hear that you figured it out.

One other thing you may want to consider... A fairly standard practice is to put a link to your Return Policy page within your Terms & Conditions page.

Robert
__________________
X-cart 4.1.10
Reply With Quote
  #93  
Old 11-11-2009, 09:03 PM
 
Tye Tye is offline
 

eXpert
  
Join Date: Nov 2002
Location: Australia
Posts: 284
 

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

How do you get it to be an alert?

I've tried this:

Code:
{assign var="href" value="{literal}window.alert("You must agree to the terms to submit order"")|replace:"'":"\'";{/literal}"}

And This

Code:
{assign var="href" value="{literal}window.alert("You must agree to the terms to submit order"");{/literal}"}

But none seem to work... any pointers?
__________________
Today is a beautiful day, grab it while you can and live it to the full

Version 4.2.3 UNIX
Reply With Quote
  #94  
Old 11-26-2009, 08:59 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

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

Does anyone have this working on 4.3?


Thanks
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #95  
Old 11-27-2009, 12:55 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
Does anyone have this working on 4.3?

Works fine with 4.3.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #96  
Old 11-27-2009, 08:03 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! I'm going to give it a try now.
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #97  
Old 11-27-2009, 08:44 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

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

Zaja,

I have tried it on 4.3 and I was unable to get it to function properly.

Although I had the code that was mentioned at

http://www.7dana.com/Must-Accept-terms-before-submitting-the-order/

my edits did not produce the desired results.


In the case of the "place order" stage of checkout, the statement as well as the checkbox shows up; however there is some code after it.

In the case of the "personal details page", every thing looks fine except there is no check box.

I have repeated the steps twice in hopes of finding something I missed, but I still get the same problems. (I made sure the code was unformated before changing the templates.)


Also, I have attached screenshots of both the problem areas. Thanks.
Attached Thumbnails
Click image for larger version

Name:	personaldetails.JPG
Views:	151
Size:	23.3 KB
ID:	1741  Click image for larger version

Name:	placeorder.JPG
Views:	149
Size:	27.8 KB
ID:	1742  
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #98  
Old 11-28-2009, 12:42 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

James, I can't reproduce this problems, just tested on clean x-cart 4.3 installation and wors perfect.
Attached Thumbnails
Click image for larger version

Name:	screen_325.png
Views:	141
Size:	16.6 KB
ID:	1743  
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #99  
Old 11-28-2009, 08:56 AM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

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

Zaja,

Thank you for your help. I am not sure where I could have gone wrong. My xcart is almost a clean install as it is, so I do not think anything else is interfering.



I will give it another try now incase I somehow managed to miss something.



On a side note, I cant seem to remove this mod.

I have deleted the files that were uploaded and then I simply replaced the info from the 4 lines that were changed. After that, I used cleanup.php and refreshed my browser.


That does not seem to get rid of the mod though. I even edited the text "Clicking "SUBMIT" you agree with our" and had the edited version show up on my checkout page even though I deleted it from my checkout page.

Any idea why I cant get rid of it?
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #100  
Old 11-28-2009, 05:26 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

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

Zaja,

Just an update, I was able to get it to work!


I have 1 questions for you still if you dont mind:


1.) Is this mod supposed to add two checkboxes? One at the "personal details" page and one at the "place order" page?


2.) If this mod does add the two checkboxes as mentioned in 1.), can I leave out the edits to "/skin1/customer/main/checkout.tpl", so that I have only one check box on the "place order" page or would that mess up this mod some how?



Thanks for all of your help!
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
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 03:22 PM.

   

 
X-Cart forums © 2001-2020