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

Sale Confirmation Email With Add Review Link?

Views: 6,000

Results 21 to 24 of 24
27 Apr 2011, 17:46
#21
gangees avatar

gangees

New Zenner

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

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,

Please ignore my previous post, sorry for the 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 realised my error and it now works, hooray! :bigups:

Ajeh:

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 ...

Very interested in this, I would like to add an IF argument also based on whether the account holder has already written a review. If they haven't then display the button, if they have then don't display the button. I understand the theory but haven't a clue how to actually do this though.

Any more help much appreciated,

Gangees

28 Apr 2011, 05:23
#22
mailbeez avatar

mailbeez

Zen Follower

Join Date:
Jun 2010
Location:
Copenhagen, Danmark
Posts:
479
Plugin Contributions:
2

Re: Sale Confirmation Email With Add Review Link?

hi,

things can be much easier when you use Mailbeez with the module for asking customers to write a review a defined period after the order was set to a configurable status. it will also check if the customer already has written a review

Find the download on
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_60&products_id=1661
or the latest version 2.02 on mailbeez.com (with very easy "drop-in" installation - basically you only need to copy the files into your zencart and click install)

Find the MailBeez forum on
http://www.zen-cart.com/forum/showthread.php?t=158085&page=36

cheers
cord

30 Apr 2011, 20:40
#23
gangees avatar

gangees

New Zenner

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

Re: Sale Confirmation Email With Add Review Link?

mailbeez:

hi,

things can be much easier when you use Mailbeez with the module for asking customers to write a review a defined period after the order was set to a configurable status. it will also check if the customer already has written a review

Find the download on
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_60&products_id=1661
or the latest version 2.02 on mailbeez.com (with very easy "drop-in" installation - basically you only need to copy the files into your zencart and click install)

Find the MailBeez forum on
http://www.zen-cart.com/forum/showthread.php?t=158085&page=36

cheers
cord

Thanks for that, sounds like a good suggestion. I'll follow it up just as soon as, but it may have to wait as my wife has just given birth to a lovely little girl! I might be a bit busy!! :D

25 Jul 2013, 22:00
#24
thomaswhiteeagle avatar

thomaswhiteeagle

New Zenner

Join Date:
May 2007
Posts:
93
Plugin Contributions:
0

Re: Sale Confirmation Email With Add Review Link?

I am trying to accomplish this same thing it is exactly what we've been looking for as the product review process on zencart is atrocious as far as making it easy for customers to come back and write reviews. I took this code as provided in this thread:

<?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>'; ?>

I added it to tpl_account_history_info_default.php. Link shows up fine but when you click it says "sorry product not found" so obvious I am missing something to make it get the product id. Any help here to make this work?