Show Posts


Messages - Oleksandr

Pages: [1]
1
General Support / Re: How to override specific templates?
« on: August 26, 2016, 07:39:35 AM »
Now I get it. You are right. I was thinking of regular templates.

Currently, you can override it only with new template or replace this file in default template.
Thank you.
So, there is no way to do that via extension?
1. I can't force Order model to use some other template, correct?
2. Replacing original template is not extension way.

Confirm, please.

2
General Support / Re: How to override specific templates?
« on: August 25, 2016, 10:56:57 AM »
I wonder why it is not allowed. You should be able to include this and it will automatically replace it.

Email template is called using template->fetch method:
github.com/abantecart/abantecart-src/tree/master/public_html/storefront/model/checkout/order.php#L563

And it seems like this method doesn't look into extensions folder:
github.com/abantecart/abantecart-src/tree/master/public_html/core/lib/template.php#L28-L57

Am I wrong?

Pages: [1]

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.