Title: Calculation problems
Last modified: December 29, 2020

---

# Calculation problems

 *  Resolved [Yasmina YENDE SUKA](https://wordpress.org/support/users/yaz2411/)
 * (@yaz2411)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/calculation-problems/)
 * Hello,
 * I have a really disturbing problem with UniCPO and my client shop ([https://murielmunga.com/boutique](https://murielmunga.com/boutique)).
 * I have 3 options that are actually types of usage for the pictures sold:
    1. 
   Personal use — conditional radio button 2. Commercial use — conditional drop 
   down 3. Print in Kinshasa — conditional drop down
 * Options 1 & 2 are the same across all products and work like a charm.
 * Option 3 is where I have the issue: the prices of the sub-options depend on the
   type of support (aluminium-dibond/plexiglass/canvas) and the size of the pictures,
   which can vary greatly from one to the other.
 * This is how I created the products:
    → publish product A → add options 1,2 and
   3 → duplicate product A and modify details for products A’, A” that have the 
   same sub-options under option 3
 * → publish product B → add options 1,2 and 3
    → duplicate product B and modify
   details for products B’, B” that have the same sub-options under option 3 → and
   so on
 * I finished setting this up a few weeks ago when a customer complained that the
   calculator wasn’t displaying the price when selecting option 3 on any random 
   product but $0 instead.
 * I tried to set the prices again but noticed they appeared to be “synced” so when
   I updated one price it was also updated on another picture.
 * I thought this happened because the sub-options had the same “slugs” so I went
   through all the pictures yesterday to give them different slugs.
    Sadly, today
   when I checked just to make sure, the prices are again not calculated.
 * The shop (Menu ‘Boutique’) is currently hidden behind a coming soon page so to
   get to it, you must first use the bypass url in the field above).
 * I’m at a loss here.
    Could you please help? Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcalculation-problems%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/calculation-problems/#post-13844501)
 * Hi,
 * Using same slugs is not a problem. The problem is that when you use same slugs,
   which means you are using same options, just different instances, it is very 
   easy to overwrite options. Probably you have overwritten options. Please, check
   the docs, read section Duplicating product and options.
 * If you are 100% sure it is a bug, then, please, tell me which steps exactly should
   I make to reproduce same issue on my localhost.
 *  Thread Starter [Yasmina YENDE SUKA](https://wordpress.org/support/users/yaz2411/)
 * (@yaz2411)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/calculation-problems/#post-13855636)
 * Hello,
 * Thank you for your answer.
 * I have read the documentation prior from contacting support. However, to me it’s
   not very clear what to do to reuse an option without overwriting.
 * What happens is that the “sub options” cease to function. On the admin side, 
   the prices are visible ([https://snipboard.io/5kSUnr.jpg](https://snipboard.io/5kSUnr.jpg))
   but on the front end, it just doesn’t calculate. The price remains at 0 ([https://snipboard.io/HKsyvD.jpg](https://snipboard.io/HKsyvD.jpg)).
 * The “slug” I was referring to in my first post is actually the “value” of the
   sub option. I thought that, by changing the value name, it would somehow make
   it unique to a specific product. I did that for every product but it keeps either
   overwriting on other products or stops calculating.
 * Maybe there is something that I overlooked?
 * Thanks
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/calculation-problems/#post-13855771)
 * Hi!
 * If you change the slug name of the CONNECTED option, then you overwrite this 
   option. If you want to change the slug of the option that is already used elsewhere,
   click on ‘unsync’ prior the changes. This action will disconnect option, so you
   could change its slug safely.
 *  Thread Starter [Yasmina YENDE SUKA](https://wordpress.org/support/users/yaz2411/)
 * (@yaz2411)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/calculation-problems/#post-13873460)
 * Hello,
 * That’s exactly what I needed!!!
    Thank you very much, my problem is now solved
   🙂
 * Br,

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

The topic ‘Calculation problems’ 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/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [Yasmina YENDE SUKA](https://wordpress.org/support/users/yaz2411/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/calculation-problems/#post-13873460)
 * Status: resolved