Number of items and price calculation error

Hey eveybody, I’m trying to make this work but its giving me a headache
https://streamable.com/12wugn
As you can see, the price is multiplied by the quantity but if I press the button “minus” when the number is 2, the quantity changes but the price is double of what it sould be.

Can anybody help me?
Thanks

Hey, @ibra.cisse,

Instead of using workflow, you can add conditionals.

For example add a condition in the text £160.00 that when the input quantity is > or equal to 1, change the initial content to the product price multiplied by the number of the input :slightly_smiling_face: :computer:

I cant make it work mate, you mean a conditional in the editor or a conditional in the workflow tab?
The thing is that I need to change that price in the data base not only in that preview.
Also, I can’t find the input “quantity” when I use conditionals

What’s the step 1 of your ‘When Group : Minus is clicked’ workflow?

3

Click on “insert dynamic data” on the total text, and it should look something like this:

Product price converted to number * quantity input

Solved,
“To make it work, you have to copy the condition in steps one and two, where it says ‘Parent group’s Cari Items quantity =>2’, and paste it to the button conditions. You should then clear the conditions in steps 1 and 2. Here’s a loom for clarity. Loom | Free Screen & Video Recording Software