Forum
Hiding hidden form fields from add/edit in admin area
I am creating my own shopping basket/checkout rather than using minicart and I want to pass the product id and main image path to my basket session so I have added in hidden fields to hold and pass through these values to both my ajax and php session. However, when I now go to add or edit a product I have 2 fields being displayed which, on investigation, are for these 2 hidden fields.
How do I stop these fields from being generated and displayed in the admin area?
https://docs.grabaperch.com/docs/templates/attributes/type/hidden/
OMG, I cannot believe I missed that - instead of using Perch format, I have just put in normal hidden fields - duh!