Free JavaScript Gift Registry and Wish List Functionality

This is an archive of old posting to the User Forum

Free JavaScript Gift Registry and Wish List Functionality

Postby John Lyotier » Fri Sep 28, 2001 12:05 pm

If anyone is interested in boosting their upcoming holiday sales, they can
easily add our free JavaScript gift registry and wish list code to their
site. Simply cut-and-paste the code to add a customizable "add to wish list"
button next to any "buy" button or product listing.

While a sample of the script is below, I would encourage you to visit the
following URL to see a product walkthrough and learn about some of the code
customization options:

http://www.stepcast.com/for/merchants/p ... avascript/

Cheers,
John



<script language="javascript"
type="text/javascript"> <!--
/* IMPORTANT: Installation and use of
this script implies acceptance of the
terms and conditions as set forth at
http://www.stepcast.com/wishcast/
wizard/javascript/docs/terms. You are
free to distribute or modify this
script as long you include this
comment unchanged. */
function openWishCastWizard() {
var args="?arg0="
+escape("itemurl="+location);
for (i=0;i<arguments.length;i++) {
args+="&arg"+(i+1)+"="
+escape(arguments[i]);}
location="http://www.stepcast.com"
+"/wishcast/createwizard.cfm"
+args;
return false;} // -->
</script>

<a href="javascript:openWishCastWizard(
'merchant=test',
'description=Square Ball',
'productcode=12345',
'brand=XYZ',
'model=ABC',
'color=red',
'size=Large',
'price=99.99',
'comment=Put your comment here.',
'category=123,234,456',
'quantity=1',
'itemURL=http://itemurl.com',
'imageURL=http://imageurl.com/image.gif',
'currency=USD')">Add to Wish List</a>
John Lyotier
 

Return to User Forum Archive

Who is online

Users browsing this forum: Bing [Bot] and 6 guests