Jump to content

Recommended Posts

Bonjour,

j'ai besoin d'avoir le prix total que le client doit payer avec les variables discount. j'ai testé avec math, mais ca ne fonctionne pas sous ps1.7.8

{math equation="q * d" q=$quantity_discount.quantity d=$quantity_discount.discount assign="total_price"}

<p>Prix total calculé avec {math} : <b>{convertPrice price=$total_price}</b></p>

Mes variables quantité x prix:

{$quantity_discount.quantity} x {$quantity_discount.discount}

Merci pour votre aide

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