Uni CPO 4 Documentation
  • Introduction
  • Why Uni CPO?
  • Installation
    • Upgrade
  • How To Use
    • Plugin's Settings
    • Builder
      • Data Structure
      • General Settings
      • Non Option Variable (NOV)
      • Weight Conditional Logic
      • Dimensions Settings
      • Image Conditional Logic
      • Formula Conditional Logic
      • Dynamic labels for options/suboptions
      • Shipping Classes Conditional Logic
      • Cart Discounts
    • Basic Modules
      • Row
      • Column
      • Paragraph
      • Button
      • Image
    • Options
      • Text Input
      • Text Area
      • Select
      • Radio Inputs
      • Checkbox Inputs
      • Date Picker
      • File Upload
      • Dynamic Notice
      • Range Slider
      • Matrix
      • Extra Cart Button
      • Google Map
      • Distance by Postcode
      • Font Preview
    • Fields Conditional Logic
    • Validation Conditional Logic
    • Colorify Feature
    • Imagify Feature
    • "Free Sample" Feature
    • Arithmetic Operators
    • Manage Order Items
    • Suboptions export/import
  • For developers
    • Actions & Filters
    • JS events
    • Extending Uni CPO
  • Duplicating options and products
  • How to debug
  • Affiliation
  • Themes & Plugins Compatibility
    • Popup Maker How To
    • Boxtal
    • Pitchprint.com
    • NBDesigner
    • Toggle Tax For Woocommerce
  • FAQ
  • Refund Policy
  • Managing licenses and billing info
    • License Utilization
  • Uni CPO Add-ons
    • Custom dynamic SKU (paid)
      • Stock management based on dynamic SKU
    • "Send Inquiry" (free)
    • Hidden/disabled option (free)
Powered by GitBook
On this page

Was this helpful?

How to debug

The information on how to debug your price calculation configuration

PreviousDuplicating options and productsNextAffiliation

Last updated 5 years ago

Was this helpful?

Try creating NOVs, put option variables there, one by one, and check ajax request-response on the front-end. Also test your NOVs this way.

Another way of debugging is this one: drag and drop a new option of the same type that you are going test. For instance, if it is Text input, then create a new Text Input. Then open its settings and choose 'duplicate', then choose targeted option in the dropdown and click 'submit'. This action fetches current settings for the targeted option from DB, so you can compare what actually is in DB with what you think there is (based on what you see in the current product). For instance, your Select option can have suboptions 'green' and 'yellow' in the current instance, but in reality it is already overwritten from another product and has suboptions 'red' and 'white'. And this is why your price calculation fails - the data is different!

👉
👉