Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Easier way to change invoice layout?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-27-2015, 12:50 PM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Easier way to change invoice layout?

Is there an easy way to change how the invoices are displayed?
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote
  #2  
Old 07-27-2015, 09:27 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Easier way to change invoice layout?

What would you like to change? And do you mean e-mail invoices, on-site invoices, or both?
__________________
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
Reply With Quote
  #3  
Old 07-28-2015, 04:24 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Re: Easier way to change invoice layout?

Quote:
Originally Posted by qualiteam
What would you like to change? And do you mean e-mail invoices, on-site invoices, or both?

Both. The layout of the invoices are all messed up. The company logo shows up twice (once in a header and once in teh body) and a bunch of other little things that would be nice to clean up.
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote
  #4  
Old 07-28-2015, 10:25 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Easier way to change invoice layout?

Quote:
Originally Posted by GlasPak
Both. The layout of the invoices are all messed up. The company logo shows up twice (once in a header and once in teh body) and a bunch of other little things that would be nice to clean up.
To avoid the logo showing up twice on the invoice you can eliminate it from the customer email header that is available for tweaking in the 'Store setup' > 'Email notifications' > 'Headers and signatures' section.
Templates that invoices are made of can be found in the '<X-Cart>/skins/default/en/order/invoice/' folder.
Templates that email notifications are made of are stored in the '<X-Cart>/skins/mail/en/' directory.
Some little things (font sizes, spacing etc.) may also be tweaked by editing stylesheets.

Please have a look at these articles to get more understanding about X-Cart template system.
http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes
http://kb.x-cart.com/display/XDD/Flexy+Guide
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #5  
Old 07-28-2015, 10:33 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Re: Easier way to change invoice layout?

Quote:
Originally Posted by razortw
To avoid the logo showing up twice on the invoice you can eliminate it from the customer email header that is available for tweaking in the 'Store setup' > 'Email notifications' > 'Headers and signatures' section.
Templates that invoices are made of can be found in the '<X-Cart>/skins/default/en/order/invoice/' folder.
Templates that email notifications are made of are stored in the '<X-Cart>/skins/mail/en/' directory.
Some little things (font sizes, spacing etc.) may also be tweaked by editing stylesheets.

Please have a look at these articles to get more understanding about X-Cart template system.
http://kb.x-cart.com/display/XDD/Step+2+-+applying+design+changes
http://kb.x-cart.com/display/XDD/Flexy+Guide

Thanks. The biggest problem with this is when there is an update it warns us that the files have been modified and can cause problems. I usually just ignore them but hope in teh future this may not cause a problem.
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote
  #6  
Old 07-28-2015, 10:42 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: Easier way to change invoice layout?

Quote:
Originally Posted by GlasPak
Thanks. The biggest problem with this is when there is an update it warns us that the files have been modified and can cause problems. I usually just ignore them but hope in teh future this may not cause a problem.
You can use the 'Custom Skin' module to override the default templates, or develop your own one to keep the core files untouched during upgrades
Also, I believe that you can make changes to the customer invoice layout using the Webmaster mode. It will create new templates that will be overriding the default ones in the separate folder (<X-Cart>/skins/theme_tweaker/). Thus, core templates will be untouched during upgrades.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
GlasPak (07-28-2015)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:45 PM.

   

 
X-Cart forums © 2001-2020