News:

AbanteCart v1.4.2 is released.

Main Menu
support

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Oleksandr

#1
Quote from: eCommerce Core on August 26, 2016, 07:24:21 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
Quote from: eCommerce Core on August 25, 2016, 09:10:31 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?

Forum Rules Code of conduct
AbanteCart.com 2010 -