I'm using an ad in my footer.php that uses a form to display additional products. I can hard code a broad variable, but then results are from random products. I would have their products in the same shop, but the datafeed is too horrible. I'd like to be able to populate one form field with the [category] of the product or products shown. You can see from my examples here, I have no clue how to do this. I would need to get it into:
default_category = "[this space]";
I wondered if it would work with something like:
default_category = "<?php print ["category"]." "; ?>";
If that is a bad idea for some reason, I can create a different field with the same terms but a different name.
I understand if you can't help with this one.
Thanks for great suport!