Add Custom text to Recepit and Thank you Page for a Product.

General ShopSite user discussion

Add Custom text to Recepit and Thank you Page for a Product.

Postby sellmethemoney » Mon Jul 12, 2010 9:40 am

Hello,

Is there a way to add a note to show in the Receipt and Thank you page for a particular product?

For example, Let's say I have 4 products:

AAA,
BBB,
CCC, and
DDD

I need to have an additional note for product BBB. So if someone orders it, I want the note to show up. If the product is not ordered, then I don't want it to show.

This note should appear only if this product has been ordered, whether BBB's are ordered as a single product or with others.

I am hoping to use the SKU as the identifier and hopefully I could use some javascript for this.

Thanks!


:lol:
sellmethemoney
 
Posts: 17
Joined: Tue Dec 15, 2009 9:00 am
Location: Chicago, IL

Postby ShopSite Lauren » Mon Jul 12, 2010 5:03 pm

You can add script similar to the following to put text on the Thank You screen. I don't know how to add this to the email receipt.

<script type="text/javascript" language="javascript">
for (var p = 0 ; p < number_products ; p++) {
if (ss_sku[p] == "G5834") {
document.write("<b>Here is my custom text for a particular product</b>");
}
}
</script>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Postby sellmethemoney » Tue Jul 13, 2010 7:27 am

Thanks Lauren, I will give it a try.

:)
sellmethemoney
 
Posts: 17
Joined: Tue Dec 15, 2009 9:00 am
Location: Chicago, IL


Return to User Forum

Who is online

Users browsing this forum: No registered users and 47 guests

cron