Jump to content

 

TTapio

Member Since 21 Jun 2018
Offline Last Active Jan 06 2020 10:12 PM
-----

Posts I've Made

In Topic: Terms And Conditions Appear Twice

05 January 2020 - 04:52 PM

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


In Topic: Terms And Conditions Appear Twice

05 January 2020 - 04:13 PM

Hello

 

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

It should disappear.

 

Best regards

Robert

 

 

You mean to clear server's DNS cache?


In Topic: Terms And Conditions Appear Twice

05 January 2020 - 01:41 PM

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.


In Topic: Terms And Conditions Appear Twice

05 January 2020 - 01:22 PM

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}

    <div class="ty-control-group ty-checkout__terms">

        <div class="cm-field-container">

            {strip}

                {$smarty.capture.agreement_contents nofilter}

            {/strip}

        </div>

    </div>

{/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}

    <div class="ty-control-group ty-checkout__terms">

        <div class="cm-field-container">

            {strip}

                {$smarty.capture.agreement_contents_profiles_update nofilter}

            {/strip}

        </div>

    </div>

{/if}


In Topic: Terms And Conditions Appear Twice

05 January 2020 - 12:08 PM

Hello

 

New checkout or old checkout ?

 

Best regards

Robert.

 

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