Title: Quantity doesnt work
Last modified: August 5, 2024

---

# Quantity doesnt work

 *  [treehousemedia](https://wordpress.org/support/users/treehousemedia/)
 * (@treehousemedia)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/quantity-doesnt-work-2/)
 * Hello, unfortunately I have a problem with the quantity.
   If I want to create 
   a conditional expression and select “if {quantity} …” in the first field and “({
   quantity} * ack (‘Field01’)) + ack (‘Field02’)) +ack (‘Field03’)), the calculator
   always calculates the square of the quantity and does not add it up.
 * I then only calculated “price {quantity}*1} for the single-line formula and checked
   this in the frontend. Here I have seen that the calculator forms the square. 
   So I get the result for quantity1=1, quantity2=4, quantity3=9 etc.
 * I then tried to take the square root from the quantity. But then I get completely
   different results.
 * What can I do or what am I doing wrong?
    -  This topic was modified 1 year, 10 months ago by [treehousemedia](https://wordpress.org/support/users/treehousemedia/).

The topic ‘Quantity doesnt work’ is closed to new replies.

 * ![](https://ps.w.org/wc-kalkulator/assets/icon-256x256.gif?rev=2767665)
 * [Product Fields, Addons and Price Calculator for WooCommerce](https://wordpress.org/plugins/wc-kalkulator/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-kalkulator/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-kalkulator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-kalkulator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-kalkulator/reviews/)

## Tags

 * [quantity](https://wordpress.org/support/topic-tag/quantity/)

 * 0 replies
 * 1 participant
 * Last reply from: [treehousemedia](https://wordpress.org/support/users/treehousemedia/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/quantity-doesnt-work-2/)
 * Status: not resolved