Author Topic: Product Detail Pdf  (Read 1594 times)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10170
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Product Detail Pdf
« Reply #15 on: May 23, 2021, 15:51:09 pm »
why not just over ride the components\com_virtuemart\views\productdetails\tmpl\default_pdf.php

add inline css changes etc ...  TCPDF is never going to display css libraries like bootstrap etc correctly ...  really think your making a mountain ot of a molehill here...

TCPDF understands basic inline css and html tags .. plenty of documentation at the TCPDF site

I regularly make pretty complex pdf layouts using this technique 
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4455
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Product Detail Pdf
« Reply #16 on: May 24, 2021, 10:10:19 am »
If you have a render error, then you have missing tags in the HTML or a PHP error.
To check the PHP errors, you can search in your PHP error.log

ShafanHameed

  • Beginner
  • *
  • Posts: 13
  • A beginner
  • Skype Name: Shafan.Hameed
Re: Product Detail Pdf
« Reply #17 on: May 24, 2021, 13:28:54 pm »
Thanks everyone.. i will try to override default_pdf.php and will share the details here..