Hi FC,
I am on "edit receipt template" page. An extract from the template:
...
{% include 'svg.inc.twig' %}
{% import "utils.inc.twig" as utils %}
{% embed 'receipt.inc.twig' %}
{% endembed %}
<!--[if lt IE 9 ]>
...
Question. Where do I find "receipt.inc.twig" in my admin panel? This one here:
https://github.com/FoxyCart/2.0-templates/blob/master/receipt.inc.twigActually, it'd be nice if you linked all templates from admin panel to their GitHub sources.
Thanks!
The template you linked to there is indeed the receipt include template. You can see all templates listed at https://github.com/FoxyCart/2.0-templates/
Thanks for your suggestion for linking to them in the admin too - we're working through a new rebuilt administration right now, and are planning some improvements to our templates to make them easier to work with as part of that.
I think I didn't make my question clear.
I would like to edit the contents of 'receipt.inc.twig' from my admin panel - I'd like to move things around when the receipt page is rendered.
How can I do that?
Thanks for clarifying. Depending on the level of customisation you're wanting to do, there are a few ways to go about it. If you're wanting to rearrange the receipt page quite a bit, your best bet would be to copy the contents of "receipt.inc.twig" and paste it in the place of the following code in the default receipt template: You can then alter the raw code as you need.
You can also see some information on working with the raw templates here: https://wiki.foxycart.com/v/2.0/templates/advanced