开发者

New invoice not showing up in ubercart

I'll make this quick because I'm hoping to get it fixed as quickly as possible!

Basically, after making multiple posts asking for assistants creating a invoice template for ubercart, non of which got a reply, I decided to tackle my problam myself.

And that开发者_Python百科's what I've done. I've uploaded it to "/sites/all/modules/ubercart/uc_order/templates" with the name "uc_order-custom.tpl.php" ( like everyone says on the internet) but when I go to select which template I want to use only 'admin' and 'customer' appear (no 'custom')!

Any idea's why?


It appears, now, that the problem is with the dropdown menu's on the pages; the will not updte! Even if I delete the standard customer template from the directory, the option still appears in the menu but the email is just blank, for obvious reasons! So, I just wondered if it was possible for me to manually code/tell ubercart which template to use for the invoice, instead of relaying on the drop down menu's (if we can't figure out how to update them)?

Thanks in Advance, Andy


Try clearing Drupal's cache. New template files only get loaded when the template cache is cleared.


You need also to copy uc_order.tpl.php to your templates folder.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜