X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Must "Accept terms" before submitting the order (https://forum.x-cart.com/showthread.php?t=20597)

xcel 10-01-2009 03:24 PM

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.

robertswww 10-03-2009 11:50 AM

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

Tye 11-11-2009 09:03 PM

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?

Pyro 11-26-2009 08:59 PM

Re: Must "Accept terms" before submitting the order
 
Does anyone have this working on 4.3?


Thanks :D

Zaja 11-27-2009 12:55 AM

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.

Pyro 11-27-2009 08:03 AM

Re: Must "Accept terms" before submitting the order
 
Zaja,

Thanks alot! I'm going to give it a try now.:lol:

Pyro 11-27-2009 08:44 PM

Re: Must "Accept terms" before submitting the order
 
2 Attachment(s)
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.

Zaja 11-28-2009 12:42 AM

Re: Must "Accept terms" before submitting the order
 
1 Attachment(s)
James, I can't reproduce this problems, just tested on clean x-cart 4.3 installation and wors perfect.

Pyro 11-28-2009 08:56 AM

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?

Pyro 11-28-2009 05:26 PM

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!


All times are GMT -8. The time now is 01:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.