Tell us what you are trying to do?
If i add a new product in woocommerce i want to have a checkbox or something like that. If it is checked on my wish is that a predefined text or photo is visible in the frontend.
For example: There is a checkbox in the backend asking if that product is limited. If it is in the front end there should be a field which show the predefined text "This product is limited to 200 copies only!". This text should come out of the database.
Is this possible?
Is there any documentation that you are following?
thanks for your quick response.
If i understand you right the content of the single line field need to be add when adding a new product, right?
But what i like to have is a predefined text which always will be used if the checkbox is active.
Then what if you only add checkbox field and on frontend - check the conditionally if the checkbox is checked or not using the [wpv-conditinoal] shortcode and display the text. That way you do not need a single line field.