X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Terms and Conditions/Privacy Statement (https://forum.x-cart.com/showthread.php?t=62139)

CottonAge.com 12-28-2011 12:00 PM

Re: Terms and Conditions/Privacy Statement
 
You can use Webmaster Mode and Firebug

vickis 08-10-2012 08:52 AM

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.

espresso 11-22-2012 02:06 PM

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.

tartaglia 11-28-2012 01:59 PM

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.


All times are GMT -8. The time now is 09:05 AM.

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