Workaround for TM_Checkoutfields (Magento One Page Checkout - Fire Checkout 2)

The TM_Checkoutfields extension replaces Magento pdf documents with their own version, which will override Pdf Customiser. To prevent this from happening, use this workaround (note this workaround must be repeated after every upgrade of TM_Checkoutfields): 

1. Edit the following file for the TM_Checkoutfields extension: app/code/local/TM/CheckoutFields/etc/config.xml 

Look for the following code: 

<rewrite>
	<!-- Overriden to add the fields block above products list -->
	<order_pdf_shipment>TM_CheckoutFields_Model_Order_Pdf_Shipment</order_pdf_shipment>
	<order_pdf_invoice>TM_CheckoutFields_Model_Order_Pdf_Invoice</order_pdf_invoice>
</rewrite>

Replace this with the following code:

<rewrite>
	<!-- Overriden to add the fields block above products list -->
	<!-- disabled due to incompatibility with Fooman Pdf Customiser
	<order_pdf_shipment>TM_CheckoutFields_Model_Order_Pdf_Shipment</order_pdf_shipment>
	<order_pdf_invoice>TM_CheckoutFields_Model_Order_Pdf_Invoice</order_pdf_invoice>-->
</rewrite>

From v2.3.5+ of Fooman Pdf Customiser, the extra checkout fields provided by the TM_Checkoutfields extension will automatically be displayed in pdf documents generated by Fooman Pdf Customiser.

Still need help? Contact Us Contact Us