| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Module change invoice field | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I'm developing an offline payment module and I want to change the invoice. Is there a way to do this programatically?
__________________
X-Cart 5.2.13 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart 5.2.13 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() Hello all,
I would like to add the custom text just before the invoice footer. I'll look further onto @LastChild
__________________
X-Cart 5.2.13 |
|||||||
#6
|
|||||||
|
|||||||
![]() I've successfully appended the fields I wanted to the invoices
![]() But now how can I override checkout to create an offline payment reference?
__________________
X-Cart 5.2.13 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() 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
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|