Jump to content
WHMCS John

Terms of Service on Checkout Page

Recommended Posts

Try This; :)

 

 {if $accepttos}
<p align="center">
<iframe width="75%" height="250" src="{$tosurl}"  frameborder="0" style="border:1px #999 solid" scrolling="yes"  ></iframe>
</p><p align="center">
   <input type="checkbox" name="accepttos" id="accepttos" />
   <label for="accepttos">{$LANG.ordertosagreement} {$LANG.ordertos} above.</label>
 </p>

{/if} 

Share this post


Link to post
Share on other sites

This is a feature of most modern browsers. Right now I can re-size the "quick reply" box, although that may be a function included. You may be able to set a fixed size for it using either CSS or inline CSS but it may not work as the browser may override it.

Share this post


Link to post
Share on other sites
On 4/5/2012 at 3:31 PM, sampathneo said:

Try This; :)

 

 


 {if $accepttos}
<p align="center">
<iframe width="75%" height="250" src="{$tosurl}"  frameborder="0" style="border:1px #999 solid" scrolling="yes"  ></iframe>
</p><p align="center">
   <input type="checkbox" name="accepttos" id="accepttos" />
   <label for="accepttos">{$LANG.ordertosagreement} {$LANG.ordertos} above.</label>
 </p>

{/if} 
 

 

Works like a charm on v7.2.3! Tks a lot! :D

Share this post


Link to post
Share on other sites
On 4/5/2012 at 8:31 PM, sampathneo said:

{if $accepttos} <p align="center"> <iframe width="75%" height="250" src="{$tosurl}" frameborder="0" style="border:1px #999 solid" scrolling="yes" ></iframe> </p><p align="center"> <input type="checkbox" name="accepttos" id="accepttos" /> <label for="accepttos">{$LANG.ordertosagreement} {$LANG.ordertos} above.</label> </p> {/if}

Works Perfect Thanks Very Much

Share this post


Link to post
Share on other sites

Hi, I know this is quite way too old from today but would really appreciate if you guys could check if the codes are still working for the latest releases of WHMCS versions?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated