VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: psm on September 03, 2018, 16:34:27 PM

Title: Cannot show picture in invoice
Post by: psm on September 03, 2018, 16:34:27 PM
Dear all,
I updated my VirtueMart 3.2.0 to 3.2.14 and I found that my copied stamp is not showed in invoices. I have added this code below in invoice.php file. Could you please help me what can be the problem?

Thank you


<div class='spaceStyle'>
    <?php
    
if ($this->print) {
echo $this->loadTemplate('items');
    } else {
        
$tabarray = array('items'=>'COM_VIRTUEMART_ORDER_ITEM''history'=>'COM_VIRTUEMART_ORDER_HISTORY');
shopFunctionsF::buildTabs$this$tabarray);
    }
    
?>

</div>
<br clear="all"/><br/>

Added piece of code: <img src="images/stories/virtuemart/invoice/peciatka.jpg"></img>
   
<?php    
if ($this->headFooter) {
    echo 
$this->replaceVendorFields($this->vendor->vendor_letter_footer_html$this->vendor);
}




Title: Re: Cannot show picture in invoice
Post by: GJC Web Design on September 03, 2018, 17:18:21 PM
use the full image url perhaps?
Title: Re: Cannot show picture in invoice
Post by: psm on September 03, 2018, 18:43:34 PM
Thank you and how I can get full image url please?
Title: Re: Cannot show picture in invoice
Post by: GJC Web Design on September 03, 2018, 20:57:15 PM
https://www.whateveryoursiteiscalled.com/images/stories/virtuemart/invoice/peciatka.jpg
Title: Re: Cannot show picture in invoice
Post by: psm on September 05, 2018, 07:20:36 AM
Thank you. It is ok now.