WordPress.org

Ready to get started?Download WordPress

Forums

eShop-invoice
[resolved] Errors in default template (3 posts)

  1. Karsonito
    Member
    Posted 1 year ago #

    It seams I found 2 errors in default template invoice_part2.php:
    <img src="<?php echo $invoice_options['company_logo']; ?> alt='logo'">
    1. Last quote in wrong position
    2. No check for empty logo.

    Correct version should be:

    <?php if ($invoice_options['company_logo'] != "") { ?>
      <img src="<?php echo $invoice_options['company_logo']; ?>" alt='logo'>
    <?php } ?>

    Thanks for useful plugin!

    http://wordpress.org/extend/plugins/eshop-invoice/

  2. thomaslcq
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for this, I've corrected the bug in the release and tagged 0.3.5 !

    Cheers !

    thomas

  3. thomaslcq
    Member
    Plugin Author

    Posted 1 year ago #

    closing

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.