| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Another tell a friend | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Another tell a friend
If you guys go to this page:
http://fineartphotogifts.com/shop/customer/product.php?productid=16140&cat=256&page=1 you will see the second box under the thumbnail is "Tell Your Friends." Others have done this before, and the code is on these boards somewhere. But if you're interested in this one, then let me know, and I'll post all the stuff you need. WHY IS THIS DIFFERENT? Because it LOGS in a DB table all the emails that are going out. It logs the senders email address, the recipient's email address, the page that was sent, the timestamp, and the message that was sent, if any. Some people may not agree with this, and you do what you want with this information. The original idea was mine and the code was done by a guy I work with for our corporate site (work), so I cannot take credit for it. But I modified it ever so slightly and made it work with my site. |
|||||||
#2
|
|||||||||
|
|||||||||
Sounds interesting, why not just post the code.
there will always be someone interested
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||||
|
|||||||||
Very nice, why dont you post the code here on the forums.
Or pack it up (zip), upload it somewhere and give us the link.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#4
|
|||||||
|
|||||||
Okay, here's the goods... I didn't know if I should chew up bandwidth unless people actually wanted to see it, but it looks like there's some interest...
First add a table into your shop DB, with the following SQL (this is made easy if you have phpMyAdmin. Code:
Copy this code into a file called connect.php and put it in the xcart/include directory. Be sure to replace all variables properly for the DB name, username and password: Code:
Next, add a directory under your root called /tellafriend. In this directory include the following index.php file. Be sure to replace all instances of my site-specific stuff with yours (URLs, image locations, etc.) Code:
Create a template under /modules/upselling_products/tellafriend.tpl and fill it with this code. You may wish to get rid of the "width={$product.image_x}" portion if you are not putting Tellafriend under the thumbnail: Code:
At the proper place in your /customer/main/product.tpl place this line: Code:
to call the code onto the page. That should be it. I think you have it all now. If you have questions, I'll try to help, but since I'm no guru like Shan, or Boomer, or some others I may fumble a bit. Let us know how well this works for you. |
|||||||
#5
|
|||||||||
|
|||||||||
Really simple and nice, the way users like it. Seams to work smooth.
Have you tried generating the HTML catalog to test out the functionality of this in HTML ? Not sure, but it seams that the references might have an impact once you use it in HTML formated pages. I prefer to see it working first before I break my cart again, he, he.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#6
|
|||||||
|
|||||||
Leon,
Actually, I did try it on the HTML catalog, and it certainly does work fine there too. |
|||||||
#7
|
|||||||||
|
|||||||||
Great ! Thanks for the reply... and test..
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#8
|
|||||||
|
|||||||
On my current site, the one I'm replacing with xcart, I have a tell a friend feature and it bcc's me on all emails. Interesting reading.
Sometimes it ticks me off - like when they email other stores and say "I want this, can you beat their price?" (that happens a lot) but other times it's informative because I learn what customers REALLY think and that can be helpful when making decisions. Sometimes I wish I hadn't read them because people say some very personal things to each other. It'll start out, look at this product and end with uh, well, private conversation. I guess it never occurs to them that it's being logged. Anyway, thanks for posting this. I've not yet decided if I want this feature on the new site, but if I do I will give this one a go. Anyone using it on the latest 3.5? ~Beth
__________________
X-Cart version 3.5.6 PHP 4.3.4 MySQL server 3.23.56 MySQL client 3.23.49 Web server Apache/1.3.31 (Unix) Operation system Linux Perl 5.008 |
|||||||
#9
|
|||||||||
|
|||||||||
Well, I started using it, but after a few tests I decided to use the other one (Im on 3.5.3 by the way).
This is a great Mod, but the other one was easier for Multilingual purposses, and also to keep it light on the database server, since I didnt see use in using tables for it, well not until you mentioned Bcc'ing the messages, although like you say, could get private. It would be interesting to have a Send to friend mod that could log only what products are most recommended by friends and show it on the index or in an admin view, that would be good information for Marketing purposes for sure.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#10
|
|||||||
|
|||||||
In some cases, reading the info was helpful. People would say things like - this is cute but the picture is hard to see or I like this but I wish it came in blue (well, it did but I didn't have the blue one online yet) ect. In those instances having their input was helpful because I could fix what they were complaining about.
As to whether I'll put it on my new xcart site, still not sure. I really, really didn't like the ones that said "hey, can you beat this price" but I guess they can do that by just sending them the URL through email just as easy. ~Beth
__________________
X-Cart version 3.5.6 PHP 4.3.4 MySQL server 3.23.56 MySQL client 3.23.49 Web server Apache/1.3.31 (Unix) Operation system Linux Perl 5.008 |
|||||||
|
|||
X-Cart forums © 2001-2020
|