These are chat archives for reactioncommerce/reaction
I know about replacing templates, but is there any way to extend/inject an existing template with another template?
Maybe with hooks?
For example: I want to add a new date field to product in my separate package. I want that date field to be editable on the product detail page. Now, if I copy the product detail template and replace it, then changes made to core (in the future) will be overridden by my package.
I would love to just inject the date field into the core product template at render time. Does anyone know of a way to do this?
I found a way to inject additional fields into an existing template, without actually touching the RC core template.
With the help of aldeed:template-extension.