Terms And Conditions Appear Twice

I tried to find correct TPL file but no success. Terms and conditions appear twice during checkout. How to "eliminate" one away? I think this error is in code while I cannot find error elsewhere.

This problem appear on main store as well as on all storefronts.

terms_and_conditions.jpg

Hello

Have you installed any addons or made any changes to the code? I understand that it appeared recently and everything was ok before?

Best regards

Robert

Hello

Have you installed any addons or made any changes to the code? I understand that it appeared recently and everything was ok before?

Best regards

Robert

Hi Robert,

No we didn't do any changes or installed addons. This is the most recent error/bug in CS Cart what we try to figure out how to get rid of it.

Hello

New checkout or old checkout ?

Best regards

Robert.

Hello

New checkout or old checkout ?

Best regards

Robert.

I use new one with TONS OF other problems as we all well enough know.

Hello TTapio

You can change it in file

/design/themes/responsive/templates/addons/gdpr/hooks/checkout/terms_and_conditions_extra.post.tpl

Best regards

Robert

Thanks Robert. There's some "double" coding to make sure customers surely TICK terms and conditions :).


{$show_agreement = false}

{capture name="agreement_contents"}

{if $iframe_mode}

{$onclick="fn_check_agreements('{$suffix}');"}

{/if}

{include file="addons/gdpr/componentes/agreement_checkbox.tpl" type="checkout_place_order" onclick=$onclick suffix=$suffix agreement_required=true}

{/capture}

{if $show_agreement}

{strip}

{$smarty.capture.agreement_contents nofilter}

{/strip}

{/if}

{$show_agreement = false}

{capture name="agreement_contents_profiles_update"}

{if $iframe_mode}

{$onclick="fn_check_agreements('{$suffix}');"}

{/if}

{include file="addons/gdpr/componentes/agreement_checkbox.tpl" type="checkout_profiles_update" onclick=$onclick suffix=$suffix agreement_required=true}

{/capture}

/{if $show_agreement}

{strip}

{$smarty.capture.agreement_contents_profiles_update nofilter}

{/strip}

{/if}

I just took half away and saved. Cleared Cart cache. Tried with two browsers and still see double :S. I did clear browser cache too.

Hello

Please comment bottom section {* *}, clear cache on the server.

It should disappear.

Best regards

Robert

Hello

Please comment bottom section {* *}, clear cache on the server.

It should disappear.

Best regards

Robert

You mean to clear server's DNS cache?

Hello

Delete directory /var/cache

Best regards

Robert

Hello

Delete directory /var/cache

Best regards

Robert

Thank you Robert. It works now. I jus noticed that here's cache and cache 1. We've never reinstalled CS Cart. I think some upgrade may have created cache1. Folder construction seem to be same on both.

Regards,

Tapio

Hello

You can also delete the cache1 directory. Someone had to create it manually.

Best regards

Robert