Home :: Blog :: Articles :: Scripts :: How to change logo size in PDF invoice in x-cart X-PDF module

How to change logo size in PDF invoice in x-cart X-PDF module

How to change logo size in PDF invoice in x-cart X-PDF module
Category: Scripts
Author Name:
Posted:
Views: 6091
Comments: 0 [Post]
Synopsis: Many of x-cart store owners must be scratching their head when they see their customer's pdf invoice looks ugly because if irregular and low quality logo image of your company or website. Here is a quick fix for this problem.

Many of x-cart store owners using X-PDF module for generating PDF invoices for orders must be scratching their head when they see their customer's pdf invoice looks ugly because if irregular and low quality logo image of your company or website.

 

Here is a quick fix for this problem:

 

  1. First create a logo image small_logo.jpg of about 250 x 50 px of your company - Remember JPG only!
  2. Upload this to your x-cart skin images folder (if ideal_comfort skin - then in this theme folder images/custom
  3. Next open your skin folder/ideal_comfort folder and then mail / html folder - you find order_invoice.tpl file - open this file in a text editor or dreamweaver and change small_logo.gif to small_logo.jpg
  4. Open pdf.css located in skin / commonfiles /modules / xpdf and change the css setting for company icon image size:

.invoice-company-icon img {
  margin-top: 20px;
  width: 250px;
  height: 72px;
}

 

Now check your PDF invoice created and it looks BEAUTIFUL!

 

PDF Pop-Up Creator Software - Entry or Exit Popup and Optins $17.00

 

X-Cart PHP e-Commerce Software

About the Author

ZeeScripts Zeescripts provides you ready-to-launch websites popularly known as PHP scripts, useful software and video training for business and personal use. The Company also provide you the selected third party scripts, software and products with developer rights including source codes.
Related Items

Customer Support Module - Helpdesk module/addon/plugin for X-cart
Customer Support Module - Helpdesk module/addon/plugin for X-cart

Virtual Sales-Bot - Chat Agent or Live Helper Exit Pops Script
Virtual Sales-Bot - Chat Agent or Live Helper Exit Pops Script


Comments on How to change logo size in PDF invoice in x-cart X-PDF module

Start the conversation by being the first to comment!

Share comments

Your Name: *
Comments: *
Please Note: HTML Markup will be automatically removed.
The ability to post urls has been disabled by the site administrator.
*
Type the characters you see in the picture:

*