Jump to content

Problème avec fonction


Recommended Posts

Bonjour,

 

Je voudrai ajouter une condition avant affichage.

 

Ma fonction  {if $product.price < 499}
  {$product.price}

fonctionne très bien mais quand je veux demander d'afficher plus grand que 500, cela ne fonctionne plus

 

 {if $product.price > 500}
  {$product.price}

 

Apparemment le signe > n'est pas reconnu.

 

Pouvez-vous m'aider ?

 

Merci d'avance

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...