Terms & Conditions Alert at Checkout not working

The terms and conditions alert that should pop up if the check box is not selected at checkout does not activate, the page simply scrolls downward but no alert is activated.

Didn’t know there was supposed to be a pop-up!!!



It has annoyed me for a while that the box is to the left and if the user doesn’t select it, it is not very clear why the cart won’t proceed.

[quote name=‘BarryH’]Didn’t know there was supposed to be a pop-up!!!

.[/QUOTE]





If you check in languages for ‘alert’ there is;

“checkout_terms_n_conditions_alert”



Alert Value = In order to proceed, you need to accept our Terms and Conditions.



So its obviously meant to happen it just doesn’t.



Best I could come up with was to html format the checkbox instruction with a highlighted background and larger text.

This nearly cost me an order today. The customer called totally stumped. I logged in and acted for the customer, heck I didn’t even catch it at first, if they don’t check it then it merely adds a little red dashed line around the check box…can barely see it. Otherwise it seems as if nothing is happening.



We need a fix on this asap.

How can this be moved to appear under the ‘Place Order’ Button?

If so how can it be moved?

There is a bug fix for this!

replace this(2.1.1)






{if $settings.General.agree_terms_conditions == "Y"}

{hook name="checkout:terms_and_conditions"}

{/hook}

{/if}
{if $cart_agreements}

{hook name="checkout:terms_and_conditions_downloadable"}
{include file="buttons/button.tpl" but_text=$lang.license_agreement but_role="text" but_id="sw_elm_agreements" but_meta="cm-combination"}
{/hook}


{/if}

{/if}



with that (from 2.0.8 )


```php




{if $settings.General.agree_terms_conditions == "Y"}

{hook name="checkout:terms_and_conditions"}
{$lang.checkout_terms_n_conditions}
{/hook}

{/if}
{if $cart_agreements}

{hook name="checkout:terms_and_conditions_downloadable"}
{$lang.checkout_edp_terms_n_conditions}{include file="buttons/button.tpl" but_text=$lang.license_agreement but_role="text" but_id="sw_elm_agreements" but_meta="cm-combination"}
{/hook}

{foreach from=$cart_agreements item="product_agreements"}
{foreach from=$product_agreements item="agreement"}

{$agreement.license|unescape}


{/foreach}
{/foreach}


{/if}

{/if} ```

in /skins/YOUR SKIN/customer/views/checkout/components/steps/step_four.tpl
worked for me..

Rather than replacing the entire block of code mentioned above, you can just modify the following line in step_four.tpl




to add the 'form-field' CSS class, so it says:



I'm sure even this is a bit of a hack and the proper fix probably involves updating the javascript to look for one of the new CSS classes such as select-field. However, at least this works for now. I've submitted a bug report.

Somebody above mentioned 'There is a fix for this!' Were you referring to the suggestion of replacing that entire block of code or is there already a bug fix from Simbirsk out somewhere?

-deebee