How to create a simple jquery popup window, following cs-cart style templates:
```php
click me
content here....
```
Bellow is how i have created my terms & conditions popup link, based on this code:
1. In backend, go to Administration / Languages : checkout_terms_n_conditions : and added the following variable translation value:
---
```php Select this check box to accept the Terms and Conditions. ```
----
2. skins/[your_customer_selected_skin]/addons/my_changes/hooks/checkout/ create the file terms_and_conditions.override.tpl, with the bellow content:
```php
{include file="addons/my_changes/terms_and_conditions.tpl"}
```
3. Like you already guessed, now go to the root of my_changes dir, skins/[your_customer_selected_skin]/addons/my_changes/ and create the file: terms_and_conditions.tpl. Inside the file, put the following code:
```php
{$lang.checkout_terms_n_conditions}
{assign var=page_id value=2}
{if $page_id|fn_my_changes_terms_n_conditions}
{assign var="description" value=""|fn_my_changes_terms_n_conditions}
{$description|unescape}
{/if}
```
in my website, the terms and conditions page, has id=2. you can change it however you want/need
4. Clear the cache, in admin. Refresh the checkout page in storefront, and voila! Your popup window with terms and conditions!
Hope this will be helpful for other people who's looking for this type of mod.
Cheers,