Thank you email all black

General ShopSite user discussion

Thank you email all black

Postby mjbrunelle » Fri Jul 09, 2010 9:32 am

Can any advise were to change the background-color for the thank you emails.

For some reason ours are no completely black so you can only see the Back To Store button and the UPS logo.

Thanks

MarkB
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am

Postby ShopSite Nicole » Fri Jul 09, 2010 9:54 am

If it is the base code which is causing the all black issue, then the email receipt code is found near the bottom of the shopping cart template. If you are using a custom template, go to Merchandising > Custom Templates > Shopping Cart to edit the template.

If you are using a ShopSite built-in template, you can go to Commerce Setup > Order System > Layout Info to find which template you are using. Then go to Merchandising > Custom Templates > Shopping Cart > Copy a ShopSite Template.

-ShopSite Nicole
ShopSite Nicole
 
Posts: 184
Joined: Thu Jan 14, 2010 10:30 am
Location: Utah

Thanks Nicole, but --

Postby mjbrunelle » Fri Jul 09, 2010 10:06 am

We are not using a custom template on the Thank You email, it is the same set up as for the Modern template.

I have gone out and edited sc_thankyouemail.css so that it is hard set:

color: #00000;
background-color: #ffffff;

obviously black and white.

Still getting an all black output. However, print the email and you get a basic black text and white background, with only the product table being all black.
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am

Postby ShopSite Nicole » Fri Jul 09, 2010 10:16 am

#############################
[-- DEFINE ThankYou_Email --]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>[-- STORE.SC_ThankYou Remove_Html --]</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
[-- INCLUDE sc_thankyouemail.css PROCESS --]
</head>

<body bgcolor="#[--STORE.SC_BackgroundColor--]">

[-- IF STORE.UseCompanyLogo --]<p align="left"><a href="[-- STORE.CompanyURL --]">[-- STORE.CompanyLogo --]</a></p>[-- END_IF --]
[-- IF STORE.HeaderImage --]<p align="center">[-- IF STORE.HeaderURL --]<a href="[-- STORE.HeaderURL --]" id="header_image">[-- STORE.HeaderImage --]</a>[-- ELSE --]<span id="header_image">[-- STORE.HeaderImage --]</span>[-- END_IF --]</p>[-- END_IF --]
<p class="buttons">[-- BUTTON ReturnToStore --]</p>

<div class="header">[-- ThankYouHeader --]</div>
<table border="0" width="0" align="center">

<tr>
<td align="center">
<b>[--Store.SC_OrderNumber--]&nbsp;[-- ThankYouOrderNumber --]</b>
</td>
</tr>

<tr>
<td align="right">
[-- SC_Cart --]
</td>
</tr>

<tr>
<td align="right">
[-- SC_Totals --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Address --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

<tr>
<td align="center">
[-- SC_Payment --]
</td>
</tr>

<tr><td align="center"><hr noshade size="2"></td></tr>

[-- VAR.HR No --]

[-- IF SC_OrderingInstructions_Text --]
<tr>
<td align="center">
[-- SC_OrderingInstructions --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF SC_Comments_Text --]
<tr>
<td align="center">
[-- SC_Comments --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF CustomHTML_Values --]
<tr>
<td align="center">
<table align="center">
<tr>
<td align="left">
[-- CustomHTML_Values --]
</td>
</tr>
</table>
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF Email_List --]
<tr>
<td align="center">
[-- Email_List --]
</td>
</tr>
[-- VAR.HR Yes --]
[-- END_IF --]

[-- IF VAR.HR Yes --]
<tr><td align="center"><hr noshade size="2"></td></tr>
[-- END_IF --]
</table>
<div class="footer">
[-- ReceiptFooter --]
</div>
</body>
</html>
[-- END_DEFINE ThankYou_Email --]


Above I have pasted the email receipt portion of the Shopping Cart template for the modern theme. In it there is a piece of code which defines the body background color: <body bgcolor="#[--STORE.SC_BackgroundColor--]">

Is it possible this could have an affect on your email receipts? Are your receipts set to be text receipts or to be HTML receipts?

-ShopSite Nicole
ShopSite Nicole
 
Posts: 184
Joined: Thu Jan 14, 2010 10:30 am
Location: Utah

Thanks Nicole

Postby mjbrunelle » Fri Jul 09, 2010 10:23 am

I got it worked out, just hard editted the CSS and changed the include file.

MarkB
mjbrunelle
 
Posts: 147
Joined: Sun Jun 21, 2009 5:09 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 52 guests