WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. Karsonito
    Member
    Posted 3 years 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 3 years 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 3 years ago #

    closing

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • eShop-invoice
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.