![]() |
Module change invoice field
Hello,
I'm developing an offline payment module and I want to change the invoice. Is there a way to do this programatically? |
Re: Module change invoice field
Rafael,
Can you expound on what you mean? Yes your module can affect the invoice, you can add templates or classes to the lists that are used to make up the invoice. |
Re: Module change invoice field
Mike,
Thanks for your quick reply! I want to add a field in my invoice, if the payment module I'm developing is selected, that shows you the reference to pay. It's an offline payment system in Portugal, similar to wire transfer as I need to show the final costumer some details. Can you please tell me how I can do this? |
Re: Module change invoice field
Hello!
I believe you should add a new template with the text and inject it into the invoice by using the @ListChild tag. Where do you want the reference to be inserted? |
Re: Module change invoice field
Hello all,
I would like to add the custom text just before the invoice footer. I'll look further onto @LastChild |
Re: Module change invoice field
I've successfully appended the fields I wanted to the invoices :)
But now how can I override checkout to create an offline payment reference? |
Re: Module change invoice field
Quote:
I think it makes sense to discuss this in the other forum thread that you created on this topic: https://forum.x-cart.com/showthread.php?t=73681 |
All times are GMT -8. The time now is 06:09 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.