Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Now im not sure if this is the right thing to do but if your getting the following:

"Could not include font metric file"

 

Just delete this from the file fpdf.php

    if(!isset($fpdf_charwidths[$fontkey]))

  	 $this->Error('Could not include font metric file');

 

 

Please let me know if this is dumb :roll:

Posted

also for the contribution:

 

PDF data-sheet v.1.2.2

 

I found that replacing the link that it tells you to put in with my own it actually worked, lol. So heres the link you can try in product_info if nothing else id working for you...

 

<?php echo '<a href="' . tep_href_link(FILENAME_PDF_DATASHEET, 'products_id=' . $product_info['products_id']) .'" target="_self">' . tep_image('pdf/pdf.gif') .'</a>'; ?>

 

 

and if you want it in a new window im guessing you change the _self for _blank. not sure on that one tho.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...