View Single Post
  #4  
Old 09-27-2006, 08:50 PM
 
Kerbsp Kerbsp is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 95
 

Default Re: Product Inquiry form for 4.0+

Quote:
Originally Posted by junaid
if($mode == 'enquire') {
if($email && $from && $name) {
$mail_smarty->assign ("product", $product_info);
$mail_smarty->assign ("name", $name);
$mail_smarty->assign ("query", $query);
func_send_mail ($email, "mail/querysub.tpl", "mail/queryap.tpl", $from, $query, false);
$top_message["content"] = func_get_langvar_by_name("txt_inquiry_sent");
} else {
$top_message["content"] = func_get_langvar_by_name("err_filling_form");
$top_message["type"] = "E";
}
func_header_location("product.php?productid=".$pro ductid);
}

Replace ".$pro ductid); with ".$productid);
__________________
Xcart 4.0.17 - XAOM - XRMA - Special Offer - Sales & Stats
______
www.futurevis.com
Reply With Quote