• My invoice and packingslip are not presented correctly see link.
    Thanks in advance for your support.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @marc2018

    Your document is restricted to the backend, please download and host it in an accessible location.

    Thread Starter marc2018

    (@marc2018)

    Hi @alexmigf,

    This should be an accessible link:
    https://www.petras-atelier.nl/wp-content/uploads/2020/05/factuur-2.pdf

    1) My logo does not fit is it possible to fit the logo or should I resize it myself?
    2) Kies Lettertype: the option behind this is way to big is it possible to add some extra white space or is there an otherway to solve this.
    3) How to change the size of the fonts these are very small.

    Thanks again for your reaction.

    Plugin Contributor alexmigf

    (@alexmigf)

    Hello @marc2018

    1) Yes, you could use this code snippet:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
        td.header img {
            max-height: 2cm;
            width: auto;
        }
        <?php
    }

    2) How are you displaying that meta data there?

    3) You can add this custom styles to the code snippet above (for the logo):

    table.order-details .product dl.meta {
    	font-size: 10pt;
    }

    If you never worked with action/filters, please read this documentation: How to use filters

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invoice not correct.’ is closed to new replies.