Invoice template override

  • Liam Hanks
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 1 week ago - 1 month 1 week ago #171170 by Liam Hanks
Invoice template override was created by Liam Hanks
I'm not able to make a template override for the file com_eshop/themes/default/views/invoicetemplates/default.php by placing it in the usual template override location [template_path]/html/com_eshop/invoicetemplates. When I copy the original file to the template folder and make a change, nothing changes in the invoice PDF. Would it be possible to make this file overrideable, or is there another way I can customize this layout without editing a core component file?

Thanks
Last edit: 1 month 1 week ago by Liam Hanks. Reason: removed code tags

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
3 weeks 5 days ago #171347 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Invoice template override
Hello Liam,

If you download the invoice from the back-end side, then you should also put that file to administrator/[template_path]/html/com_eshop/invoicetemplates and edit it, then it should work.

I hope this is useful.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Liam Hanks
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 weeks 5 days ago #171349 by Liam Hanks
Replied by Liam Hanks on topic Invoice template override
Yup, that's exactly what I've done, and the changes don't appear in the PDF. I've overridden several of the other views without any problem, but that one doesn't seem to work.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
2 weeks 6 days ago #171462 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Invoice template override
Dear Liam,

That's strange. Please submit a new ticktet to EShop category to send me the super admin account to your site there so I can help you to check and tell you the reason.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong