Jump to content

Create if function based on query


2grosiek7
 Share

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.

Share this post


Link to post
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.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More