I’ve created a field group that displays on the backend of my Woocommerce edit product page.
Within the group, there are two fields 1. max_offer 2. win – both of which are Number Field Types.
I want these fields to match the following Woocommerce data fields.
max_offer = Regular Price
win = Stock Quantity
As an item is sold, the win field should be updated automatically to match the updated Stock Quantity.
Is there a way for me to achieve the above?
Thanks