Root config file:
Code: Select all
// HTTP
define('HTTP_IMAGE', '/store/image/');
// HTTPS
define('HTTPS_IMAGE', '/store/image/');
I need the images working BOTH in the order confirmation emails AND on the product images appearing to come from that stores domain.
Code: Select all
// HTTP
define('HTTP_IMAGE', 'http://MyDomain.com/store/image/');
// HTTPS
define('HTTPS_IMAGE', 'http://MyDomain.com/store/image/');
I need a solution so that ALL product images appear to come from that domain AND I need the store logos to be displayed in the order confirmation emails.
I did find this (i think it is the email order confirmation catalog/view/theme/default/mail/order.tpl if I change the below then the config could use the /store/image (without the MyDomain)
Code: Select all
<div style="width: 680px;"><a href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><img src="<?php echo $logo; ?>" alt="<?php echo $store_name; ?>" style="margin-bottom: 20px; border: none;" /></a>
Code: Select all
<div style="width: 680px;"><a href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><img src="<?php CHANGE-THIS-PART echo $logo; ?>" alt="<?php echo $store_name; ?>" style="margin-bottom: 20px; border: none;" /></a>
