I have a template which allows a category to be chosen for a product in the control panel.
The template also displays a product image and a buy now button.
I want to feed the chosen category into the buy now button code but can't work out how to do this.
The section of code in the buy now button is:
Can anyone suggest how I can do this in the html template please?