Witch is the file that control the field layout of the invoice?
I want to put the , company field at the end.
Thanks.
Witch is the file that control the field layout of the invoice?
I want to put the , company field at the end.
Thanks.
Grab some of the common text in the invoice and use the admin > tools > developer toolkit > to locate the files
Zen-Venom Get Bitten
Not the specific text that you want as this is referenced and grabs the store details, other common text in the invoice to locate the fileOriginally Posted by KoBra
Zen-Venom Get Bitten
It's a little obscure, since the address details are built based on the appropriate format for the country they're related to.
The company name is simply added on top.
You can change it by finding the followingand changing it like this:Code:if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) { $address = $company . $cr . $address; }Code:if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) { $address = $address . $cr . $company; }
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi, Yes is that. I've allready looked at this file but don't manage to find out what was the code the controled the position of the fields.
I have a little correction to make is:
Code:if ( (ACCOUNT_COMPANY == 'true') && (zen_not_null($company)) ) { $address_out = $address_out . $cr . $company;
I cannot edit the other post...
I've find the file that controls the invoice in admin. Is located in:
/admin/includes/functions/general.php