Template updates when you update Pdf Customiser

If you have previously customised some of the templates that came with Pdf Customiser by placing them into your own theme they might require an update after a minor version update (for example from 2.10.X to 2.11.X).

Depending on your previous version of Pdf Customiser please follow the below to bring your templates up-to-date:

If upgrading from Pdf Customiser v2.10

Change any occurrence of $this->serializeParams( to $this->getPdf()->serializeTCPDFtagParameters(

Change any occurrence of TCPDF_STATIC::serializeTCPDFtagParameters( to $this->getPdf()->serializeTCPDFtagParameters(

If upgrading from Pdf Customiser v2.7 to v2.9

Please make the following changes:

Change any occurrence of $this->serializeParams( to $this->getPdf()->serializeTCPDFtagParameters(

Change any occurrence of TCPDF_STATIC::serializeTCPDFtagParameters( to $this->getPdf()->serializeTCPDFtagParameters(

Additionally, if you have previously customised the below templates

app/design/frontend/base/default/template/fooman/pdfcustomiser/item.phtml
app/design/frontend/base/default/template/fooman/pdfcustomiser/bundle-with-subitems.phtml

please copy the latest version from the base/default theme into your theme and reapply your customisations.

If upgrading from Pdf Customiser v2.6

Please make the following changes:

Change any occurrence of $this->serializeParams( to $this->getPdf()->serializeTCPDFtagParameters(

Change any occurrence of TCPDF_STATIC::serializeTCPDFtagParameters( to $this->getPdf()->serializeTCPDFtagParameters(

Additionally, if you have previously customised the below templates

app/design/frontend/base/default/template/fooman/pdfcustomiser/item.phtml
app/design/frontend/base/default/template/fooman/pdfcustomiser/bundle-with-subitems.phtml
app/design/frontend/base/default/template/fooman/pdfcustomiser/items-alt.phtml

please copy the latest version from the base/default theme into your theme and reapply your customisations

If upgrading from Pdf Customiser v2.5

If upgrading from this version there have been changes to a lot more template files and the most straightforward approach would be to remove any fooman/pdfcustomiser template files from your theme and then copy over the latest version from the base/default theme and reapply your customisations.

Still need help? Contact Us Contact Us