Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
xibun CreditAttribution: xibun commentedplease 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)
Comment #2
xibun CreditAttribution: xibun commentedfound the problem! instructions now updated.
Comment #3
robby.smith CreditAttribution: robby.smith commentedHello,
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!
Comment #4
xibun CreditAttribution: xibun commented@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.
Comment #5
robby.smith CreditAttribution: robby.smith commentedI 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!!
Comment #6
vera-vila CreditAttribution: vera-vila commentedI 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.