Jump to content

Create if function based on query


2grosiek7

Recommended Posts

Hello,

I would like to ask you, how to create function if basing on sql query and asking about value.
I have this line

{displayPrice price=$surcharge}

and would like to made function
{if (surchage>value)}
code
{/if}

 

Thank you in advance.

Link to comment
Share on other sites

Little information = no answer.
You have to describe exactly what you are trying to do, where you want to insert your code, etc.
It is important to present the PrestaShop version.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...