Author Topic: Cannot show picture in invoice  (Read 574 times)

psm

  • Jr. Member
  • **
  • Posts: 133
Cannot show picture in invoice
« 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

Code: [Select]
<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);
}




GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9475
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Cannot show picture in invoice
« Reply #1 on: September 03, 2018, 17:18:21 pm »
use the full image url perhaps?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

psm

  • Jr. Member
  • **
  • Posts: 133
Re: Cannot show picture in invoice
« Reply #2 on: September 03, 2018, 18:43:34 pm »
Thank you and how I can get full image url please?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9475
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

psm

  • Jr. Member
  • **
  • Posts: 133
Re: Cannot show picture in invoice
« Reply #4 on: September 05, 2018, 07:20:36 am »
Thank you. It is ok now.