Forums / General Questions / Sale Confirmation Email With Add Review Link?

Sale Confirmation Email With Add Review Link?

Results 1 to 20 of 24
02 May 2009, 12:55
#1
tracstev avatar

tracstev

New Zenner

Join Date:
Apr 2008
Posts:
61
Plugin Contributions:
0

Sale Confirmation Email With Add Review Link?

Hi

Does anyone know how you would add some php code to each and every sales confirmation email which gives a link back to the products ordered to the appropriate "write a review" about this product page? It would be good to include a thumbnail of the products ordered and a paragraph of text for example "Once you have received pproduct x,y,z why not write a review and let us know what you think.

I think this will dramatically increase the number of product reviews which are written and help to increase the amount user generated content on the site keeping old product pages fresh for Google to feed on.

Also perhaps this could be included on newsletters if the customer has ordered before as a one off mail shot to get some feedback.

Any ideas anyone?

Thanks!!
02 May 2009, 15:07
#2
mejaflora avatar

mejaflora

New Zenner

Join Date:
Feb 2008
Posts:
21
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

You can go direct by going to your root folder and find this folder called Email. This contains all the email templates so you can customize each and everyone. Add a link should be easy here. Do try a test order to check first how the new email will look like.

Good luck!
05 May 2009, 16:59
#3
tracstev avatar

tracstev

New Zenner

Join Date:
Apr 2008
Posts:
61
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Thanks I guess i just need to pull the relevant info from thr database when generating the confirmation email. If this is a simple process and someone knows how to do it please say! Otherwise i'll see if I can hack something together and post it here later. Right off to get my php/sql manuals.:blink:
08 May 2009, 16:47
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Sale Confirmation Email With Add Review Link?

Would it be easier to include some text about "write a review on your products" in the email and add links to writing the review on the Order History where the customer would already be logged in and just click along to write the reviews ...

This would save the customer from clicking each link and having to login for each one of them ...

Plus, the added advantage of not looking like spamm due to excessive links in the email ... :unsure:
08 May 2009, 17:02
#5
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

As a customer I rarely return to look at old, order-related emails. Have you considered the Autoresponder+ mod? You could send an automated email a week or two after the order when the customer has likely already received and used the product(s), and the email can contain direct product links to whatever was ordered.
14 May 2009, 08:02
#6
mejaflora avatar

mejaflora

New Zenner

Join Date:
Feb 2008
Posts:
21
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Agreed. after i've received my shopping items, i wouldnt go through my email to find that link. What I do is wait abt 15-30 days after I've shipped and then send a separate email asking for feedback. So far it has worked quite well.
24 Aug 2009, 12:31
#7
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Ajeh:

Would it be easier to include some text about "write a review on your products" in the email and add links to writing the review on the Order History where the customer would already be logged in and just click along to write the reviews ...

This would save the customer from clicking each link and having to login for each one of them ...

Plus, the added advantage of not looking like spamm due to excessive links in the email ... :unsure:


Ajeh,
Is there a way to add a link to the order history page that would go directly to the write a review page for the product that they have purchased? I've added a link to the product but I'd like to make it less complicated for the customer.

Thanks!
Nancy
24 Aug 2009, 15:10
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Sale Confirmation Email With Add Review Link?

You can customize your templates and overrides any way you want ...

You would want to add something like:
<?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array()) . '&products_id=' . $order->products[$i]['id']) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?>
24 Aug 2009, 21:10
#9
ladyink avatar

ladyink

Zen Follower

Join Date:
Oct 2007
Posts:
105
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Linda~

Thank you- it works perfectly!

Nancy
25 Aug 2009, 04:36
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Sale Confirmation Email With Add Review Link?

You are most welcome ... :smile:
29 Aug 2009, 10:19
#11
bear1728 avatar

bear1728

New Zenner

Join Date:
Jul 2009
Posts:
86
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

hi linda, it really woks perfectly, i wonder if i could get this :
if the customer hasn't written a review on the product, display "write a review button A" with the link.
if the customer has already written a review on the product, display "write a review button B" and disable the link on the button.
any ideas?
29 Aug 2009, 10:44
#12
bear1728 avatar

bear1728

New Zenner

Join Date:
Jul 2009
Posts:
86
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

ps: i mean if customer has written one review by clicking this button next to this product
03 Sep 2009, 14:44
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Sale Confirmation Email With Add Review Link?

You could build into the template an IF to check if the customer has written a review on the product and change the button based on the results ...

The reviews table contains a field for both:
products_id
customers_id

that can be used for this test ...
11 Dec 2009, 10:51
#14
tracstev avatar

tracstev

New Zenner

Join Date:
Apr 2008
Posts:
61
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

thanks guys i havent visited this forum in a while, however i will try some of these tips in the new year... I am finding that people are not adding a review to the site but we do receive lots of feedback by general email.
14 Jun 2010, 11:33
#15
mailbeez avatar

mailbeez

Zen Follower

Join Date:
Jun 2010
Posts:
479
Plugin Contributions:
2

Re: Sale Confirmation Email With Add Review Link?

you can send review reminder with link by using
Aftersales Automatic Trigger Email Campaigns on:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_60&products_id=1661

this addon is very easy to install and is fully integrated into zencart.

Instead of adding code in some pages it watches the database and sends a review reminder e.g. 10 days after an order is set to "delivered".

More Modules are available (e.g. birthday, recover cart sales, winback customer reactivation etc.) or you can build your own modules
27 Apr 2011, 12:22
#16
gangees avatar

gangees

New Zenner

Join Date:
Feb 2011
Posts:
16
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Ajeh:

You can customize your templates and overrides any way you want ...

You would want to add something like:
<?php echo '<a href="' . zen_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, zen_get_all_get_params(array()) . '&products_id=' . $order->products[$i]['id']) . '">' . zen_image_button(BUTTON_IMAGE_WRITE_REVIEW, BUTTON_WRITE_REVIEW_ALT) . '</a>'; ?>


Hello Ajeh,
I'm trying this piece of code on the accounts page (tpl_account_default.php) added to my overide template. This page shows the orders placed by a customer and seems the ideal place for this button.

The review button link displays but it does not retrieve the product id correctly and I get "Sorry, the product was not found."

I have a limited understanding of php so I'm unable to properly decipher the code to see what is going wrong.

Pretty Please can you or anybody help...

Gangees
27 Apr 2011, 13:23
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Sale Confirmation Email With Add Review Link?

The code needs a products_id and the tpl_account_default does not have any products_id ...

What exactly are you trying to do ... do you want this link on an Order that the customer has made when viewing the account_history_info on each of the Products?
27 Apr 2011, 14:18
#18
gangees avatar

gangees

New Zenner

Join Date:
Feb 2011
Posts:
16
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Ajeh:

... do you want this link on an Order that the customer has made when viewing the account_history_info on each of the Products?


Hi Ajeh,
This is not quite what I am after if I understand you correctly, I don't want the link on the account_history_info pages for the products, rather I want it to appear on the account page, where a customer's previous orders are listed.

I have created a new "Review" heading which I have added after the "View" heading (so it looks like this: "Date"..."No"..."Ship To"..."Status"..."Total"..."View"..."Reviews"), and the "write review" button itself appears under this heading. Everything is in place visually, just stuck on functionality..

Ideally, I would also like to make it so that if a review has already been written, the "write review" button could change to "read review", and link to the relevant review.

Thanks,
Gangees
27 Apr 2011, 14:50
#19
gangees avatar

gangees

New Zenner

Join Date:
Feb 2011
Posts:
16
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Oh dear now I see what I am trying to do is wrong, I'm asking for a review of an order, not a product, :blush: Doh!

Okay, a rethink is needed..
27 Apr 2011, 17:20
#20
gangees avatar

gangees

New Zenner

Join Date:
Feb 2011
Posts:
16
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

Ajeh:

What exactly are you trying to do ... do you want this link on an Order that the customer has made when viewing the account_history_info on each of the Products?


Hi Ajeh,
Sorry for previous confusion and wasting your time, the new and improved short answer to your earlier question quoted above is yes, that is exactly what I want to do :yes:

I have now placed the link on my tpl_account_history_info_default.php override page. This page lists the "Order Information - Order #NUMBER" and shows the product name. I have place the "write review" button in line with the product, but still have no functionality, I don't know how to get the product id..

Thanks for any more help,
Gangees