• Resolved mappel

    (@mappel)


    Thank you very much for your great plugin and the fine documentation!

    I’m wondering, is there a way to put the shop address into the footer?
    I can delete it from the top of the page by deleting the lines in the custom invoice.php
    But I’m struggeling to set up a footer with three columns that would look something like this

    —–
    Shopname ADDRESS CONTACT
    VAT ID street email
    country phone

    If you could point me in the right direction how to do this, that would be awesome!!
    Best wishes

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mappel

    (@mappel)

    ah ok, the three columns I tried to mock up, look very messy…
    I had three columns in mind…
    1st the shopname (may the VAT ID underneath)
    2nd the address (with street and country among each other)
    3rd contact info (with email and phone among each other)

    Plugin Contributor kluver

    (@kluver)

    Hi @mappel,

    You could set up a table in the footer of the template like this:

    <table class="footer-table">
    	<tr>
    		<td class="footer-column-1">
    			<div class="wrapper"><?php $this->extra_1(); ?></div>
    		</td>
    		<td class="footer-column-2">
    			<div class="wrapper"><?php $this->extra_2(); ?></div>
    		</td>
    		<td class="footer-column-3">
    			<div class="wrapper"><?php $this->extra_3(); ?></div>
    		</td>
    	</tr>
    </table>

    And use the extra fields in the plugin settings to fill them (WooCommerce > PDF Invoices > General).

    Thread Starter mappel

    (@mappel)

    wow, thanks you very much for helping out!
    that is working perfectly:))

    Plugin Contributor Ewout

    (@pomegranate)

    glad to hear that! If you can spare a moment we always appreciate a plugin review:
    https://www.ads-software.com/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/#new-post

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to put the shop address in the footer’ is closed to new replies.