Hey, wonderful people. I have a question that I believe is pretty basic, but due to my limited knowledge of coding, I have spend over 12 hours. May be someone over here can help me.
I am trying to create a link on an item page, that would change based on one of the fields/columns in the attached database. For example, on the link below:
If someone clicks 'sub-type' I want them to be directed to https://www.r-suri.com/e-health/Anxiety/sub-type. One of the columns in my database is called "condition." for the item 'anxiety-1,' the condition is Anxiety. Now, I want the link to follow the wixLocation.path for the initial part of the url (until prefix), then pull data from the relevant column in my database (in this example, condition column for anxiety-1), and then the static "sub-type."
The part that I am struggling the most is pulling the relevant data from the database. Any suggestions?