gift certiface nightmare - email background and text the sam

General ShopSite user discussion

gift certiface nightmare - email background and text the sam

Postby Steve » Mon Dec 19, 2005 1:36 pm

Well I borked up on this. I never noticed that the email sent to
customer with the gift certificate ID and PIN had a black background and
black text. Help where is the tempalte or options for the email sent out?

I am using ShopSite Pro7

Thanks!
Steve
 

Re: gift certiface nightmare - email background and text the

Postby loren_d_c » Mon Dec 19, 2005 2:11 pm

Merchandising -> Gift Certificates -> Configure.

Note you can change the colors on the gift certificate pages here, you
can also select what gift certificate template you are using. If you are
using gc_default (the ShopSite default) you can make a copy of it in
Merchandising -> Custom Templates by using the Copy ShopSite Template
feature in the Gift Certificate Templates section.

-Loren


Steve wrote:
Well I borked up on this. I never noticed that the email sent to
customer with the gift certificate ID and PIN had a black background and
black text. Help where is the tempalte or options for the email sent out?

I am using ShopSite Pro7

Thanks!
loren_d_c
 
Posts: 2570
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: gift certiface nightmare - email background and text the

Postby Steve » Mon Dec 19, 2005 2:51 pm

Alright I copied the default and hardcoded the background to be whte and
the text to be black. When trying to resend the email still has black
background and black text.

Here is the template:


#############################
# Gift Certificates Defines #
#############################

[-- DEFINE Gift_Certificate --]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script type="text/javascript" language="JavaScript">
<!--
# Tag for ShopSite's required Java Script code
[-- SC_JAVASCRIPT --]
// -->
</script>

[-- INCLUDE sc_giftcert.css process --]

</head>

<body
[-- IF STORE.SC_BackgroundImage --]
background="[--STORE.SC_BackgroundImage--]"
[-- END_IF --]

[-- ShopSiteMessages --]

<div class="header">
[-- GiftCertHeader --]
</div>

[-- SC_FORM --]

<div class="cert">

<div class="instructions">
[-- GiftCertInstruction --]
</div>

[-- GiftCertNumberAmount --]

[-- GiftCertEmailMail --]

[-- GiftCertToFromMsg --]

<div class="policy">
[-- Store.GiftCert_Policy --]
<br>
[-- GiftCertPolicy --]
</div>

<div class="buttons">
[-- BUTTON BackToStore --]&nbsp;[-- BUTTON BuyGiftCertificate --]
</div>

</div>

</form>

<div class="footer">
[-- GiftCertFooter --]
</div>

</center>
</body>
</html>
[-- END_DEFINE Gift_Certificate --]

# *****************************************
# ***** GIFT_CERTIFICATE_EMAIL DEFINE *****
# *****************************************
[-- DEFINE GIFT_CERTIFICATE_EMAIL --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
[-- INCLUDE sc_shipping.css process --]
</head>
<body [-- IF STORE.SC_BackgroundImage
--]background="[--STORE.SC_BackgroundImage--]" [-- END_IF --]
bgcolor="#FFFFFF" text="#000000" link="#[--STORE.SC_LinkColor--]"
vlink="#[--STORE.SC_VisitedLinkColor--]"
alink="#[--STORE.SC_ActiveLinkColor--]">
<!-- SC Default -->
<center>
[-- Store.Name --]<br>
[-- Store.GiftCert_For --] <b>[-- GiftCert_Amount --]</b><p>
<table>

<tr><td class="cert_text">
[-- Store.GiftCert_To --]
</td><td class="cert_value">
[-- GiftCert_To --]
</td></tr>

<tr><td class="cert_text">
[-- Store.GiftCert_From --]
</td><td class="cert_value">
[-- GiftCert_From --]
</td></tr>

[-- IF GiftCert_Message --]
<tr><td class="cert_text">
[-- Store.GiftCert_Message --]
</td><td class="cert_value">
[-- GiftCert_Message --]
</td></tr>
[-- END_IF --]

</table>
[-- STORE.GiftCert_ToRedeem --]<br>
<a href="[-- STORE.OUTPUT_URL --]/index.html">
[-- IF Store.Name --]
[-- Store.Name --]
[-- ELSE --]
[-- STORE.OUTPUT_URL --]/index.html
[-- END_IF --]
</a><p>
[-- STORE.GiftCert_OnOrderScreen --]<br>
[-- Store.GiftCert_Number --]: <b>[-- GiftCert_Number --]</b> -
[--Store.GiftCert_PIN --]: <b>[-- GiftCert_PIN --]</b><br>
Expiration Date: [-- GiftCert_Date --]<br>

</center>
</body>
</html>
[-- END_DEFINE GIFT_CERTIFICATE_EMAIL --]

# *****************************************
# ***** GIFT_CERTIFICATE_MAIL DEFINE *****
# *****************************************
[-- DEFINE GIFT_CERTIFICATE_MAIL --]
[-- IF FIRST_MAIL_GIFTCERT --]
<html>
<head>
<style media="print"> .noprint { display: none } </style><META
HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff">
[-- END_IF --]

<!-- SC Default -->
<center>
[-- Store.Name --]<br>
[-- Store.GiftCert_For --] <b>[-- GiftCert_Amount --]</b><p>
<table>

<tr><td class="cert_text">
[-- Store.GiftCert_To --]
</td><td class="cert_value">
[-- GiftCert_To --]
</td></tr>

<tr><td class="cert_text">
[-- Store.GiftCert_From --]
</td><td class="cert_value">
[-- GiftCert_From --]
</td></tr>

[-- IF GiftCert_Message --]
<tr><td class="cert_text">
[-- Store.GiftCert_Message --]
</td><td class="cert_value">
[-- GiftCert_Message --]
</td></tr>
[-- END_IF --]

</table>
[-- STORE.GiftCert_ToRedeemCutPaste --]:<br>
[-- STORE.OUTPUT_URL --]/index.html<p>
[-- STORE.GiftCert_OnOrderScreen --]<br>
[-- STORE.GiftCert_Number --]: <b>[-- GiftCert_Number --]</b> - [--
Store.GiftCert_PIN --]: <b>[-- GiftCert_PIN --]</b><br>
Expiration Date: [-- GiftCert_Date --]<br>

[-- IF LAST_MAIL_GIFTCERT --]
<p>
[-- SC_FORM --]
</center>
</body>
</html>
[-- ELSE --]
<p
class="noprint">----------------------------------------------------------</p>
<p>
</center>
<P STYLE="{page-break-after:always;}">&nbsp;</P>
[-- END_IF --]
[-- END_DEFINE GIFT_CERTIFICATE_MAIL --]


Any ideas? Is it because the gift certificate was already ordered?

Thanks,




Loren wrote:

Merchandising -> Gift Certificates -> Configure.

Note you can change the colors on the gift certificate pages here, you
can also select what gift certificate template you are using. If you are
using gc_default (the ShopSite default) you can make a copy of it in
Merchandising -> Custom Templates by using the Copy ShopSite Template
feature in the Gift Certificate Templates section.

-Loren


Steve wrote:

Well I borked up on this. I never noticed that the email sent to
customer with the gift certificate ID and PIN had a black background
and black text. Help where is the tempalte or options for the email
sent out?

I am using ShopSite Pro7

Thanks!
Steve
 

Re: gift certiface nightmare - email background and text the

Postby loren_d_c » Mon Dec 19, 2005 3:25 pm

Note that the [-- DEFINE GIFT_CERTIFICATE_EMAIL --] section is including
sc_shipping.css, which probably pulls color settings from the shopping
cart color settings (Commerce Setup -> Order System -> Layout Info). A
CSS definition for the background color is going to override whatever
you have in the <body> tag. I bet you have the background color and text
color set to black for your shopping cart.

-Loren


Steve wrote:
Alright I copied the default and hardcoded the background to be whte and
the text to be black. When trying to resend the email still has black
background and black text.

Here is the template:


#############################
# Gift Certificates Defines #
#############################

[-- DEFINE Gift_Certificate --]
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
html
head

title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title

meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"

script type="text/javascript" language="JavaScript"
!--
# Tag for ShopSite's required Java Script code
[-- SC_JAVASCRIPT --]
// --
/script

[-- INCLUDE sc_giftcert.css process --]

/head

body
[-- IF STORE.SC_BackgroundImage --]
background="[--STORE.SC_BackgroundImage--]"
[-- END_IF --]


[-- ShopSiteMessages --]

div class="header"
[-- GiftCertHeader --]
/div

[-- SC_FORM --]

div class="cert"

div class="instructions"
[-- GiftCertInstruction --]
/div

[-- GiftCertNumberAmount --]

[-- GiftCertEmailMail --]

[-- GiftCertToFromMsg --]

div class="policy"
[-- Store.GiftCert_Policy --]
br
[-- GiftCertPolicy --]
/div

div class="buttons"
[-- BUTTON BackToStore --]&nbsp;[-- BUTTON BuyGiftCertificate --]
/div

/div

/form

div class="footer"
[-- GiftCertFooter --]
/div

/center
/body
/html
[-- END_DEFINE Gift_Certificate --]

# *****************************************
# ***** GIFT_CERTIFICATE_EMAIL DEFINE *****
# *****************************************
[-- DEFINE GIFT_CERTIFICATE_EMAIL --]
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd"
html
head
title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
[-- INCLUDE sc_shipping.css process --]
/head
body [-- IF STORE.SC_BackgroundImage
--]background="[--STORE.SC_BackgroundImage--]" [-- END_IF --]
bgcolor="#FFFFFF" text="#000000" link="#[--STORE.SC_LinkColor--]"
vlink="#[--STORE.SC_VisitedLinkColor--]"
alink="#[--STORE.SC_ActiveLinkColor--]"
!-- SC Default --
center
[-- Store.Name --]<br
[-- Store.GiftCert_For --] <b>[-- GiftCert_Amount --]</b><p
table

tr><td class="cert_text"
[-- Store.GiftCert_To --]
/td><td class="cert_value"
[-- GiftCert_To --]
/td></tr

tr><td class="cert_text"
[-- Store.GiftCert_From --]
/td><td class="cert_value"
[-- GiftCert_From --]
/td></tr

[-- IF GiftCert_Message --]
tr><td class="cert_text"
[-- Store.GiftCert_Message --]
/td><td class="cert_value"
[-- GiftCert_Message --]
/td></tr
[-- END_IF --]

/table
[-- STORE.GiftCert_ToRedeem --]<br
a href="[-- STORE.OUTPUT_URL --]/index.html"
[-- IF Store.Name --]
[-- Store.Name --]
[-- ELSE --]
[-- STORE.OUTPUT_URL --]/index.html
[-- END_IF --]
/a><p
[-- STORE.GiftCert_OnOrderScreen --]<br
[-- Store.GiftCert_Number --]: <b>[-- GiftCert_Number --]</b> -
[--Store.GiftCert_PIN --]: <b>[-- GiftCert_PIN --]</b><br
Expiration Date: [-- GiftCert_Date --]<br

/center
/body
/html
[-- END_DEFINE GIFT_CERTIFICATE_EMAIL --]

# *****************************************
# ***** GIFT_CERTIFICATE_MAIL DEFINE *****
# *****************************************
[-- DEFINE GIFT_CERTIFICATE_MAIL --]
[-- IF FIRST_MAIL_GIFTCERT --]
html
head
style media="print"> .noprint { display: none } </style><META
HTTP-EQUIV="Pragma" CONTENT="no-cache"
title>[-- STORE.SC_GiftCertificate Remove_HTML --]</title
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"
/head
body bgcolor="#ffffff"
[-- END_IF --]

!-- SC Default --
center
[-- Store.Name --]<br
[-- Store.GiftCert_For --] <b>[-- GiftCert_Amount --]</b><p
table

tr><td class="cert_text"
[-- Store.GiftCert_To --]
/td><td class="cert_value"
[-- GiftCert_To --]
/td></tr

tr><td class="cert_text"
[-- Store.GiftCert_From --]
/td><td class="cert_value"
[-- GiftCert_From --]
/td></tr

[-- IF GiftCert_Message --]
tr><td class="cert_text"
[-- Store.GiftCert_Message --]
/td><td class="cert_value"
[-- GiftCert_Message --]
/td></tr
[-- END_IF --]

/table
[-- STORE.GiftCert_ToRedeemCutPaste --]:<br
[-- STORE.OUTPUT_URL --]/index.html<p
[-- STORE.GiftCert_OnOrderScreen --]<br
[-- STORE.GiftCert_Number --]: <b>[-- GiftCert_Number --]</b> - [--
Store.GiftCert_PIN --]: <b>[-- GiftCert_PIN --]</b><br
Expiration Date: [-- GiftCert_Date --]<br

[-- IF LAST_MAIL_GIFTCERT --]
p
[-- SC_FORM --]
/center
/body
/html
[-- ELSE --]
p
class="noprint">----------------------------------------------------------</p

p
/center
P STYLE="{page-break-after:always;}">&nbsp;</P
[-- END_IF --]
[-- END_DEFINE GIFT_CERTIFICATE_MAIL --]


Any ideas? Is it because the gift certificate was already ordered?

Thanks,




Loren wrote:

Merchandising -> Gift Certificates -> Configure.

Note you can change the colors on the gift certificate pages here, you
can also select what gift certificate template you are using. If you
are using gc_default (the ShopSite default) you can make a copy of it
in Merchandising -> Custom Templates by using the Copy ShopSite
Template feature in the Gift Certificate Templates section.

-Loren


Steve wrote:

Well I borked up on this. I never noticed that the email sent to
customer with the gift certificate ID and PIN had a black background
and black text. Help where is the tempalte or options for the email
sent out?

I am using ShopSite Pro7

Thanks!
loren_d_c
 
Posts: 2570
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 109 guests