BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

 
Go Back   Interspire Forum > Interspire Shopping Cart Community Forum > Customization and Integration > Code Modification and Addon Releases

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2009, 07:07 PM
moe80
Guest
 
Posts: n/a
Lightbulb A Simple Tell A Friend

Hello Everyone,

Here is a simple Tell a Friend add-on , I included the instructions on how to include it in your cart..

Snapshots:





Hope you find this useful..
Attached Files
File Type: zip Tell a friend.zip (2.5 KB, 128 views)

Last edited by moe80; 01-16-2009 at 09:32 PM..
Reply With Quote
  #2  
Old 05-06-2009, 09:57 PM
AnimalMakers + AnimalMakers is offline
Interspire Customer
 
Join Date: Mar 2009
Posts: 171
Default

Where in the ProductDetails page do I add this?
Reply With Quote
  #3  
Old 05-06-2009, 10:00 PM
tgr + tgr is offline
Interspire Customer
 
Join Date: Nov 2008
Posts: 99
Default

is this ok with 5.0.2?
Reply With Quote
  #4  
Old 05-06-2009, 10:03 PM
AnimalMakers + AnimalMakers is offline
Interspire Customer
 
Join Date: Mar 2009
Posts: 171
Default

It is working in my 5.0.2. I just cannot get the link to line up right under the "add to cart" button.
Reply With Quote
  #5  
Old 05-06-2009, 10:17 PM
AnimalMakers + AnimalMakers is offline
Interspire Customer
 
Join Date: Mar 2009
Posts: 171
Default

OK, I got it worked out. You go to the _master/Snippets folder and find ProductAddToCart.html. Copy that file into YOUR_TEMPLATES/Snippets folder.

Edit that file and look for
Code:
<input type="image" src="%%GLOBAL_TPL_PATH%%/images/%%GLOBAL_SiteColor%%/AddCartButton.gif" alt="" />
Right under it, place the code that moe80 provided
Code:
<a href="javascript:newWindow('../sendemail.php?'+document.location.href,'email',400,350,'')">Tell a Friend</a>
Be sure to add a "<br /> right before it though so it places it on a new line. That is, if you want the "Tell a Friend" button to be right under the "Add to Cart" button.
Reply With Quote
  #6  
Old 05-11-2009, 08:44 PM
fall3n + fall3n is offline
Junior Member
 
Join Date: May 2009
Posts: 2
Thumbs up A great feature to this

A great feature to add to this would be the option to discount a customers purchase if they tell a set number of friends about your website.
Reply With Quote
Reply

Tags
tell a friend

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump