♥raiwa Posted July 25, 2014 Share Posted July 25, 2014 (edited) Hello rainer, It me again with a small problem, I have added all the add-ons successfully to my mobile site and everything work OK, I am having a little trouble with the add-on for send Html Welcome Email and invoice The email invoice and welcome are both perfect when account is created and order made from mobile site just that the pictures /background do not show due to wrong link address It should look like mysite.com/test/catalog/images/4105_wt.jpg but is like below mysite.com/test/catalog/mobile/www.mysite.com/test/catalog/images/4105_wt.jpg I just can not figure out were to edit this duplicate info, I want to either take picture from mobile directory or store directory, why is it taken from both? I am not sure if you can help me with this but I thought before I rip everything out I should ask you :) you can look at the screen shot below http://www.spiceupyourlifenow.com/kumar/html_email_error.jpg Thanks Sam Hello Sam @@Spiceupyour, In includes/languages/english/create_account.php and includes/languages/english/checkout_process.php find this part: define('VARTABLE1', '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="' . COLOR_TOP_EMAIL . '" background="'. HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES . BG_TOP_EMAIL . '" > the constant "DIR_WS_IMAGES" is defined different on the mobile site to show the images in the main image folder (../images/). This produces the error. change this part to: define('VARTABLE1', '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="' . COLOR_TOP_EMAIL . '" background="'. HTTP_SERVER . DIR_WS_CATALOG . 'images/' . BG_TOP_EMAIL . '" > The same for other instances in the language files where the image directory (DIR_WS_IMAGES) is used: just change: DIR_WS_IMAGES to: 'images/' Hope this helps Rainer Edited July 25, 2014 by raiwa Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.