The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Updating Twig partial templates

pmcneillpmcneill Member
I'm trying to alter the template, experimenting with adding a new block on the left side of the page to capture some extra details from the user. I can update responsive.checkout.twig fine, but it never seems to use my updated checkout partial template. I'm storing everything in a public S3 bucket, and I've tried having everything in a single directory and using the default_templates subdirectory, as in the git repo. Here's the directory listing:

2019-07-12 21:30 15501 s3://bucket_name/foxy/
2019-07-12 21:30 2679 s3://bucket_name/foxy/
2019-07-12 21:30 2625 s3://bucket_name/foxy/
2019-07-12 21:30 5803 s3://bucket_name/foxy/
2019-07-12 21:30 4659 s3://bucket_name/foxy/
2019-07-16 12:45 49056 s3://bucket_name/foxy/
2019-07-12 21:30 4621 s3://bucket_name/foxy/
2019-07-16 14:05 72256 s3://bucket_name/foxy/
2019-07-16 14:14 7891 s3://bucket_name/foxy/email.txt.twig
2019-07-12 21:30 1706 s3://bucket_name/foxy/
2019-07-12 21:30 10794 s3://bucket_name/foxy/
2019-07-16 14:14 273 s3://bucket_name/foxy/
2019-07-12 21:30 14482 s3://bucket_name/foxy/
2019-07-12 21:30 3826 s3://bucket_name/foxy/
2019-07-16 14:14 1641 s3://bucket_name/foxy/responsive.cart.twig
2019-07-16 14:14 2064 s3://bucket_name/foxy/responsive.checkout.twig
2019-07-16 14:14 76141 s3://bucket_name/foxy/
2019-07-16 14:14 1065 s3://bucket_name/foxy/responsive.receipt.twig
2019-07-12 21:30 6373 s3://bucket_name/foxy/
2019-07-12 21:30 3513 s3://bucket_name/foxy/

Is there an extra step I need to do?
  • brettbrett FoxyCart Team
    Hey @pmcneill. I'm going to whisper you a bit more, but I'm not clear on what you're using S3 for? Are you caching those files from the Foxy admin?
  • Yes, exactly. I'm using S3 as a source for the template cache, instead of setting up somewhere on our production site and having to go through our normal release process for each step. For all the templates available in the admin panel, I have a remote template URL like ""
  • fc_adamfc_adam FoxyCart Team

    Thanks for the additional details. Our caching system currently just works with the main template files (like, responsive.cart.twig, responsive.checkout.twig and responsive.receipt.twig).

    For working with the includes within those templates, you'll need to include them within those parent templates to be able to make modifications.

    That said, a lot of modifications can be made without needing to work with those raw include files. Could you provide some more details on the types of changes you're looking to make? We can give you some tips on the best way to approach it for those.
Sign In or Register to comment.