Author Topic: Confirmation Email (To Store Owner) Link to Order  (Read 1537 times)

saviB

  • Jr. Member
  • **
  • Posts: 187
Confirmation Email (To Store Owner) Link to Order
« on: January 02, 2012, 19:01:43 pm »
Hi Folks. The link that comes with the order confirmation email to the store owner looks like its missing /administrator. When you click it, it takes you to the content of the admin login - without the shell. You can log in, but then get the order page - again without the shell. This means one only sees the order data, no joomla or virtuemart links, no graphics. Anyone know how to concat /administrator to .$order_link?

arueder

  • Beginner
  • *
  • Posts: 26
Re: Confirmation Email (To Store Owner) Link to Order
« Reply #1 on: April 10, 2012, 23:13:10 pm »
I had a similar problem i think

http://forum.virtuemart.net/index.php?topic=101016.0

Line 284 - 308 should look similar to this:

// EMAIL FOOTER MESSAGE
if( $is_email_to_shopper ) {
   $footer_html = "<br /><br />".$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER2')."<br />";
   
   if( VM_REGISTRATION_TYPE != 'NO_REGISTRATION' ) {
      $footer_html .= "<br /><a title=\"".$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5')."\" href=\"$order_link\">"
      . $VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5')."</a>";
   }
   $footer_html .= "<br /><br />".$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER3')."<br />";
   $footer_html .= $VM_LANG->_('CMN_EMAIL').": <a href=\"mailto:" . $from_email."\">".$from_email."</a>";
   // New in version 1.0.5
   if( @VM_ONCHECKOUT_SHOW_LEGALINFO == '1' && !empty( $legal_info_title )) {
      $footer_html .= "<br /><br />____________________________________________<br />";
      $footer_html .= '<h5>'.$legal_info_title.'</h5>';
      $footer_html .= $legal_info_html.'<br />';
   }
} else {
   $footer_html = '<br /><br /><a title="'.$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5').'" href="'.$order_link.'">'
      . $VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5').'</a>';
}
echo $footer_html;
?>
</p>
</body>
</html>