X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Link in Email - How? (https://forum.x-cart.com/showthread.php?t=15904)

dalmuti 08-14-2005 03:22 PM

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

MythNReality 08-14-2005 07:58 PM

I am looking for the same...XCart should have this feature.


All times are GMT -8. The time now is 01:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.