Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Link in Email - How?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #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
  #2  
Old 08-14-2005, 07:58 PM
  MythNReality's Avatar 
MythNReality MythNReality is offline
 

X-Adept
  
Join Date: Mar 2005
Location: S. Cali
Posts: 403
 

Default

I am looking for the same...XCart should have this feature.
__________________
_____________
Capture Your Mini-Me Look!

- X-CART Gold (Current Version) V4.6
- Reboot
- CDSEO
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:02 PM.

   

 
X-Cart forums © 2001-2020