Is there a way to add a billing method/status line to invoice, generated by module Commerce Billy PDF?

I've been looking for a way for days and still cannot figure it out......


Go to the template directory of Billy PDF (commerce_billy/modules/commerce_billy_pdf/templates) and copy the file


to your theme directory. Thats the template of the generated pdf. You can simply edit this template and add the billing method i think.

You can access the order object via

$order = commerce_order_load($variables['elements']['#entity']->order_id);

inside of the template.

| improve this answer | |
  • 1
    As a side note, there is no need to load the order object since it is already provided via the the $variables array (i.e., $variables['commerce_order']) – Watergate May 10 '15 at 0:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.