View Single Post
  #1  
Old 08-14-2005, 03:22 PM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default Product Link in Email - How?

Hello,

We have not had much luck with customers submitting reviews of products they've purchased.

So, here is what I'm attempting.

I created a new status called "Review". Then I created a new function in func.php and now when the order status is set to Review, it automatically generates an email to the customer requesting product reviews.

This email offers a chance to win a gift certificate for writing a simple review and rating the product.

My problem is that I can generate the order_detail for the email but I want to make each product a clickable link that will take them to the product they purchased so that they can review it.

I cannot seem to get the right structure for the product link.

This is my code for the tpl file:

Code:
<TABLE cellPadding="3" width="50%" border="0" style="border-collapse: collapse" bordercolor="#000000"> {foreach from=$products item=product} <TR> <td> <p align="left">{$products[prod_num].product} #{$products[prod_num].productid}</td> </TR> {/foreach} </TABLE>

Can anyone help me with this? If so, I will share the mod if anyone is interested.

Thanks,

Louise
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote