Dynamically display a description for the selected prod/cat
Content
Hi everyone,
We are currently using the widget input/ProductCategoryInput for prompting the end-user to select a category on the Ask A Question form. We would like to educate our end-users regarding the product category that they chose prior to submitting their inquiry.
One idea we had is to display a short text description once a product category has been selected. Ideally, we would like to do this without inserting all the descriptions into the ask.php page, but rather manage them from a field in the database that we can control through the CX console.
I tried using an existing field for this, but without success (see code block). Does anyone have any suggestions how this idea can be implemented?
0