Hello,

The latest Ubercart 2.3 now has it so that uc_order-customer.tpl.php can be placed into the custom theme folder along with uc_order.tpl.php (not into /ubercart/uc_order/templates) and it will take effect. http://www.ubercart.org/docs/developer/17385/changing_invoice_templates_...

I was wondering if it is/will be the same for uc_order-customer-bank_transfer.tpl.php ?

Thank you!

Comments

xibun’s picture

please mention your problem in the following issue: #295423: Move invoice templates to module based .tpl.php files
(I leave this issue open until the solution is found)

xibun’s picture

Status: Active » Fixed

found the problem! instructions now updated.

robby.smith’s picture

Status: Fixed » Active

Hello,

I read the instructions and feel there is an issue with this new template system if we're forced to use the site theme as the admin theme. I included a detailed explanation at #295423: Move invoice templates to module based .tpl.php files.

Thanks!

xibun’s picture

@robby.smith - you're not "forced" to use the site theme as admin theme. as I wrote in comment #90 of #295423: Move invoice templates to module based .tpl.php files alternatively you can copy the templates into your admin theme which is obviously not nice for maintenance. I'm happy to update uc_bank_transfer when ubercart improves the system - but I don't think that the problem should be approached from within uc_bank_transfer.

robby.smith’s picture

I really appreciate your awesome investigative skills! But I just wanted to note the way other form template file overrides works by just putting the template file into the site's theme folder (a custom one in my case). And so the new UC template files act differently and as you said 'not nice for maintenance' =) I'm definitely not pointing fingers at UC Bank Transfer or anything but hope the UC template files will eventually follow the way all template files are designed to be used in Drupal.

Thanks so much!!

vera-vila’s picture

Issue summary: View changes

I did everything, what is written in topics for Ubercart Payment - Bank Transfer or in README-file - copied template to uc_orders, and to all theme-folders, renamed it etc., but it still doesn't work - neither for old orders, nor for new orders. In Settings and everywhere I added template customer-bank_transfer...
So what else should I do to have the bank detail also in invoice and not only in order's checkout?
Can anybody help me?
Thank you.