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?

  1. How To Use
  2. Builder

Dynamic labels for options/suboptions

PreviousFormula Conditional LogicNextShipping Classes Conditional Logic

Last updated 4 years ago

Was this helpful?

You may want to display price of certain option/suboption just in front of the customer so their knows for sure how much it adds to the product price. For instance, we have 'Color' option and then certain suboption would have name "Red (+$1.5)" and '1.5' here is the data displayed dynamically, not just written in text.

It is possible now. The data can be get from NOV. So:

1) the data will be get from NOV, therefore you need an acompanied NOV;

2) this works for setting label of select/radio/chekboxes suboptions and/or for labels of any options;

Examples:

Another example where it can be used (partially hidden text because seting's form field is asmall one):

Possible syntax:

This is for displaying only! Do not put inside any calculation, it will not work!

Anything between '{#' and '#}' will not be shown on init. This feature works only if ajax request are sent, which means all required options must be filled/chosen prior sending the request.