News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Detail Pdf

Started by ShafanHameed, May 07, 2021, 23:09:54 PM

Previous topic - Next topic

GJC Web Design

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

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

Thanks everyone.. i will try to override default_pdf.php and will share the details here..