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
  • Enable stock management
  • Displaying stock amount data on the product page
  • FAQ

Was this helpful?

  1. Uni CPO Add-ons
  2. Custom dynamic SKU (paid)

Stock management based on dynamic SKU

This page includes overview of stock management functionality based on dynamic SKUs.

PreviousCustom dynamic SKU (paid)Next"Send Inquiry" (free)

Last updated 11 months ago

Was this helpful?

Enable stock management

Stock management functionality works when dynamic SKU is enabled, the pattern is defined and the checkbox for stock management based on dynamic SKU is also checked:

After you update the product a new tab "CPO stock management" will be shown:

Remember to save/update the product after the modification of this data.

Now the stock management is set and ready!

Displaying stock amount data on the product page

It is possible to notify customers about stock availability of the specific configuration of the product. This is how it may look like:

To add such notification you have to use Dynamic Notice option. The following is the example of content of Dynamic Notice that I used. It is sufficient to do the job. But you may expand/modify it if you need:

{# var left = data.stock_qty - data.quantity #}
{# if (left >= 0) { #}
{{{data.stock_status_msg}}} ({{{data.stock_qty}}})
{# } else { #}
{{{data.stock_status_msg}}}
{# } #}

I believe this would be a good starter point for you ;)

FAQ

Does this add-on works with Uni CPO FREE version?

Yes! Except Import/export functionality of stock amounts table data.

Will the stock amount be reduced automatically when customer orders the product of certain configuration(s)?

Yes, the stock amount will be reduced automatically when the order with such order items will be marked as 'completed'.

Next step - add stock level related records. This is a simple table of SKU and related quantity of the product. It is also possible to use import of CSV file to upload the data faster. This is the , you may download it and use as a blueprint.

example of CSV file with stock amounts data
All these options must be enabled
Stock management tab on the edit product page
Example of populated table of available quantities by SKU
Live previewing of stock availability