Title: codasys's Replies | WordPress.org

---

# codasys

  [  ](https://wordpress.org/support/users/codasys/)

 *   [Profile](https://wordpress.org/support/users/codasys/)
 *   [Topics Started](https://wordpress.org/support/users/codasys/topics/)
 *   [Replies Created](https://wordpress.org/support/users/codasys/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/codasys/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/codasys/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/codasys/engagements/)
 *   [Favorites](https://wordpress.org/support/users/codasys/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Options and Price Calculation Formulas for WooCommerce – Uni CPO] Error theme porto](https://wordpress.org/support/topic/error-theme-porto/)
 *  [codasys](https://wordpress.org/support/users/codasys/)
 * (@codasys)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/error-theme-porto/page/2/#post-13444185)
 * [@ridwan62](https://wordpress.org/support/users/ridwan62/)
    The previouse post
   show my settings. If I inspect your website I see that it should als be
 *     ```
       span.woocommerce-Price-amount.amount
       img.woocommerce-main-image.img-responsive
       ```
   
 * As [@moomooagency](https://wordpress.org/support/users/moomooagency/) suggested
   in the 2 post above your side also uses zoom functionality and no price amount
   field is visible. Maybe try it with default settings
    1. Simple product picture(
   no gallery, no zoom etc). 2. Make the amount visible (remove the calulate button
   for first setup)
 * If it then works you can try what happens if you activate more and more functionality.
 * Please remeber that I’am not the author of the UNI-CPO plugin, nor of the Proto
   Template
    -  This reply was modified 5 years, 7 months ago by [codasys](https://wordpress.org/support/users/codasys/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Options and Price Calculation Formulas for WooCommerce – Uni CPO] JS Events](https://wordpress.org/support/topic/js-events/)
 *  Thread Starter [codasys](https://wordpress.org/support/users/codasys/)
 * (@codasys)
 * [6 years ago](https://wordpress.org/support/topic/js-events/#post-12814060)
 * Hi donbloothoofd,
 * I’m not pretty sure what so curious about my snippet, but YES it works.
    The 
   solution was written down by moomooagency (except that his code uses backtick
   instead of single qoute/double quotes)
 * jQuery(document.body).on(“uni_cpo_set_price_event”, function(e)
    { // List of
   parameters console.log(“DEBUG: uni_cpo_set_price_event triggered, get values”);
   const width = Number(jQuery(“#uni_cpo_myvalue-field”).val()); ….. // or do something
   with e })
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Options and Price Calculation Formulas for WooCommerce – Uni CPO] Error theme porto](https://wordpress.org/support/topic/error-theme-porto/)
 *  [codasys](https://wordpress.org/support/users/codasys/)
 * (@codasys)
 * [6 years ago](https://wordpress.org/support/topic/error-theme-porto/#post-12712447)
 * Hi,
 * also I post our solution here, which works for us
 * Go into WooCommerce –> UNI CPO Setting page and set the following values
 * Product price html tag: span.woocommerce-Price-amount.amount
    Product picture
   html tag: img.woocommerce-main-image.img-responsive
 * Not sure why we need to add the dots on the price html tag, but it works.
    The
   formula we set as the UNI CPO example video shows (width and height) works now.
   The product price updates.
 * What we figured out ist that the calculation take a little bit long time.
 * Our first problem was to get the customized fields of UNI CPO visible. But this
   was because the default value for “viibility” is OFF.
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Options and Price Calculation Formulas for WooCommerce – Uni CPO] PORTO THEME – It seems that image tag selector is wrong, please update!](https://wordpress.org/support/topic/porto-theme-it-seems-that-image-tag-selector-is-wrong-please-update/)
 *  [codasys](https://wordpress.org/support/users/codasys/)
 * (@codasys)
 * [6 years ago](https://wordpress.org/support/topic/porto-theme-it-seems-that-image-tag-selector-is-wrong-please-update/#post-12712424)
 * Hi,
 * we also make the decission to go with the Proto theme and UNI CPO.
 * Late solution, but maybe anyone need the information also.
 * What fixes this is to change the prodcut picture html tag on the WooCommerce –
   > UNI CPO Settings Page to
    img.woocommerce-main-image.img-responsive
 * Regards

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