2018-12-28, 00:25:56
Hello,
You can simply use SC API to add your field to the categories. Here is an example that you can use to do this, but remember to adjust the '$fieldname' parameter:
https://gist.github.com/bigin/c7634296a4...0535a4afc5
I don't know exactly what you're doing, aren't you able to do that with the already existing Tags field?
(2018-12-27, 00:00:14)usderofit Wrote: is there a way to add a custom field to all categories?
You can simply use SC API to add your field to the categories. Here is an example that you can use to do this, but remember to adjust the '$fieldname' parameter:
https://gist.github.com/bigin/c7634296a4...0535a4afc5
(2018-12-27, 03:15:21)usderofit Wrote: So, i would create 4 categories for example, for 2 i would give a custom field value of "cat a", and for the other 2 i would give the custom field value "cat b", and on the catelog page i would display them grouped together based on the custom field value.
I don't know exactly what you're doing, aren't you able to do that with the already existing Tags field?