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

Terms and Conditions/Privacy Statement

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-28-2011, 12:00 PM
  CottonAge.com's Avatar 
CottonAge.com CottonAge.com is offline
 

eXpert
  
Join Date: Jan 2008
Location: Orange County, California
Posts: 244
 

Default Re: Terms and Conditions/Privacy Statement

You can use Webmaster Mode and Firebug
__________________
CottonAge.com - v4.4.4 - Gold
Mirko.com - v4.1.12 - Gold

We sell Bathrobes, Slippers, Towels & more at wholesale prices...
Reply With Quote
  #12  
Old 08-10-2012, 08:52 AM
 
vickis vickis is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 47
 

Default Re: Terms and Conditions/Privacy Statement

Thanks so much for the info in this thread. it lead me where I needed to go.

here's how I did it in 4.4.5 using Fast lane checkout, do the following edits to get your terms and privacy statement in those popup windows.

File: /common_files/modules/Fast_Lane_Checkout/checkout_3_place.tpl


original:

Code:
<div class="terms_n_conditions center"> <label for="accept_terms"> <input type="checkbox" name="accept_terms" id="accept_terms" value="Y" /> {$lng.txt_terms_and_conditions_note|substitute:"terms_url":"`$xcart_web_dir`/pages.php?alias=conditions":"privacy_url":"`$xcart_web_dir`/pages.php?alias=business"} </label> </div>


change to:

Code:
<div class="terms_n_conditions center"> <label for="accept_terms"> <input type="checkbox" name="accept_terms" id="accept_terms" value="Y" /> {$lng.txt_terms_and_conditions_note|substitute:"terms_url":"`$xcart_web_dir`/pages.php?pageid=4":"privacy_url":"`$xcart_web_dir`/pages.php?pageid=3"} </label> </div>

change the red/bold page #s there to your page.
__________________
currently: 4.7.1

previously: XCart Version 4.4.5 Pro
Reply With Quote
  #13  
Old 11-22-2012, 02:06 PM
 
espresso espresso is offline
 

eXpert
  
Join Date: Apr 2007
Location: Ontario, Canada
Posts: 227
 

Default Re: Terms and Conditions/Privacy Statement

Quote:
Originally Posted by tapupartforpres

Here is what is there by default,

I accept the <a href="{{terms_url}}" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;" target="_blank">"Terms &amp; Conditions"</a> and <a href="{{privacy_url}}" target="_blank" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;">"Privacy Statement"</a>

I have tried 5 different ways of showing the path (absolute and relative) and I am either getting an error or no information is showing and the beach ball is just spinning.

Thanks ahead of time.

I can't believe there are so many threads about this silly fact. Yes, I can confirm in 4.5.3 this is still not solved. And I too had to search around, wasting time on how to solve this.

I created 2 static pages, but instead of modifying templates, I believe the correct way is as you attempted, to just replace the url in the language variable txt_terms_and_conditions_note.

For me, replacing "{{terms_url}}" with "pages.php?pageid=x" worked.
Same thing for the privacy url.

x being the page id of your static page.
__________________
Rene
End user - merchant
In the upgrade process 4.6.6 to 5.4.x


Mods I miss in 5.4.x:
xCMS, Create-A-Sale, On-Sale AC, Kit Builder AC, Manufacturer-A-Z BCSE, Product-Bundle BCSE, Pre-Order BCSE, Customer Quotes BCSE
Reply With Quote

The following user thanks espresso for this useful post:
chamberinternet (03-16-2015)
  #14  
Old 11-28-2012, 01:59 PM
 
tartaglia tartaglia is offline
 

X-Adept
  
Join Date: May 2006
Location: Dallas, TX
Posts: 575
 

Default Re: Terms and Conditions/Privacy Statement

FYI, the problem of the OPC terms and conditions and privacy statement links not working unless you have created static pages with the hardcoded names dictated by QT and burried in the code still exists in 4.5.4.

The workaround (without modifying func.pages.php, where the hardcoded names are found) suggested by espresso above may work but I do not think the replacing "{{terms_url}}" with "pages.php?pageid=x" will still show the contentent in a popup or will it. Yes I agree, getting this correct shouldn't be so hard.
__________________
David Coggan
Carolyn Nussbaum Music Company
X-Cart v4.5.4 Gold +
LiteCommerce v2.2.41 (previous 6 years)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:04 PM.

   

 
X-Cart forums © 2001-2020