Title: Conditional logic
Last modified: September 25, 2020

---

# Conditional logic

 *  Resolved [rotulcopy33](https://wordpress.org/support/users/rotulcopy33/)
 * (@rotulcopy33)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/conditional-logic-65/)
 * The formula I have in Conditional Logic is this:
    To calculate 10 units:
 * (({uni_cpo_ancho}*{uni_cpo_alto}/1000)+({uni_cpo_opcion1}+{uni_cpo_opcion2}+{
   uni_cpo_opcion3}+{uni_cpo_opcion4})*10)+{uni_cpo_price}
 * What I want is:
    Group 1: Let him calculate the width and height and divide it
   by 1000 Group 2: Add other options to increase the price according to the one
   chosen Group 3: That multiply groups 1 and 2 by the amount (in this case they
   are 10) Group 4: Add the price of WC (one time only)
 * thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/conditional-logic-65/#post-13452812)
 * Hi,
 * So, what is your question? Clarify, please.
 *  Thread Starter [rotulcopy33](https://wordpress.org/support/users/rotulcopy33/)
 * (@rotulcopy33)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/conditional-logic-65/#post-13453073)
 * The question is how to calculate groups 1 and 2 by quantities and then add the
   WCprice
    Group 1 gets the width and height Group 2 gets several options that 
   are added
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/conditional-logic-65/#post-13453241)
 * Sorry, I do not review price calc configurations. Please, ask more specific questions
   about how the plugin works. Unless you would like to order a paid configuration
   service. In this case, please, write to email [support@moomoo.agency](https://wordpress.org/support/topic/conditional-logic-65/support@moomoo.agency?output_format=md).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Conditional logic’ is closed to new replies.

 * ![](https://ps.w.org/uni-woo-custom-product-options/assets/icon-256x256.jpg?rev
   =1764217)
 * [Product Options and Price Calculation Formulas for WooCommerce – Uni CPO](https://wordpress.org/plugins/uni-woo-custom-product-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uni-woo-custom-product-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uni-woo-custom-product-options/)
 * [Active Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uni-woo-custom-product-options/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/conditional-logic-65/#post-13453241)
 * Status: resolved