Jump to content

Edit History

seok

seok

Hello

I am limiting the total order ammount in checkout and my code only works if is upper than 1.000 €

My code:

{if $total_cart > 0 && $total_cart < 3.000}
<button id="buy"></buton>
{else}
If you order is upper than 3000€, please contact-us
{/if}

First i tried with {if $total_cart < 3000} and also adding a dot "3.000" it works

The problem is that this code {if $total_cart < 3.000} only works if the order is between 1000 and 3000€.

Why this code is not working for orders less than €1000 ?

seok

seok

Hello

I am limiting the total order ammount in checkout and my code only works if is upper than 1.000 €

My code:

{if $total_cart > 0 && $total_cart < 3.000}
<button id="buy"></buton>
{else}
If you order is upper than 3000€, please contact-us
{/if}

First i tried with {if $total_cart < 3000} but it is not working, then adding a dot "3.000" it works

The problem is that this code {if $total_cart < 3.000} only works if the order is between 1000 and 3000€.

Why this code is not working for orders less than €1000 ?

×
×
  • Create New...