Hello
I’m trying to make the cartkit plugin works for kirby 3. What I don’t understand is how to convert this file plugin made for v2 into v3.
This file contains only multiple functions, I don’t know what kind of extension types I have to use in that case. My last try is to run them into a simple snippet like
You can do that, then you have to require the external file. But why in the template? I thought you were using this in a plugin? What I meant, this goes either into the main plugin file (index.php) or into a separate script file you require in index.php. Putting these functions into a template will definitely be a mess.