As I'm still a total n00b in working with CraftCMS, so I hope to get some help from more experienced users :-)
I followed every available tutorial (which are very clear and well written. Great job!) but of course there's still enough to explore and discover. The hardest part for me is to find the correct variables and the format to use in templates. That's what this topic is about ..
I've worked with Lightspeed HQ for some years, which is also a twig / symfony based platform. What made templating very easy in Lightspeed HQ is it's developer toolbar that shows all available variables in a wink. Here's an example of the toolbar, active on a product-page.
When I need to show prices for example, I simply can use this syntax:
{{ product.price.price }}
// or when I need price incl. and excl. taxes
<p>Price incl. TAX: {{ product.price.price_incl }}</p>
<p>Price excl. TAX: {{ product.price.price_excl }}</p>
[ADDED] I'd like to see (if possible) a dump of all variables available in the backend, and more important, the way they need to get called eventually. Maybe some example would explain it better:
Let's say that I'm starting with a clean / empty template and want to know which variables are available to use in the actual template. I have a slider, which should be dynamic. In that slider I need to call / show specific related product properties. In this case it should be the featured product image. I'm totally stuck in finding the right variable to call: i.e. {{ variableimageentry.getUrl }} for the source.
In the above example I constructed it this way:
I was hoping that there was a way to create an overview of all fields' variables, ready to use in templates.
I came by the KINT plugin, but can't find a usable way to get something similar as my example. Maybe I'm overlooking something, so I hope someone could help me out here.
Thank you very much in advance for your help and thinking with me!