OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Email and Add Customer Details to Database (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Email and Add Customer Details to Database
#7044
propertyexpress (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 0  
Hi there!

Would appreciate much your kind help in guiding me how to modify the script realestatemanager.php to email a buying customer details when a send request is made.

I am trying to add customer_name, customer_email, customer_phone and customer_comment from the enquiry form to the email at line 1301, but the email still does not show these details.

Thanks in advance and hear from you soon!

Warmest regards,
Thomas
 
Logged Logged  
  The administrator has disabled public write access.
#7048
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 61  
Hello,

I not full understand what code you edit.

Please check function "saveBuyingRequest" - in that file

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#7053
propertyexpress (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 0  
Hi there!

I would like to send the buyer's details via email. How do I put the details to the email?

Rgrds,
Thomas
 
Logged Logged  
  The administrator has disabled public write access.
#7060
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 61  
Hello,



User data for buy request in real estate manager you may take exactly as you self described. But only you was need check function "saveBuyingRequest"



Data what user type in buy request you may see:

Code:

$buying_request->customer_name

$buying_request->customer_email

$buying_request->customer_phone







if buy request send logined user also you may use:

Code:

$item_user[0]->name

$item_user[0]->email 





Before edit file, please do file backup



Thanks,

OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#7078
propertyexpress (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Re:Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 0  
Thanks very much for the help. It works now.

How do I put in the house title as well? The code as follows does not work.

$item_house[0]->htitle

What is the correct code?
 
Logged Logged  
  The administrator has disabled public write access.
#7080
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:Email and Add Customer Details to Database 3 Years, 9 Months ago Karma: 61  
Hello,

For add property title in BuyRequest email - you need in function "saveBuyingRequest"

find row

Code:

$zapros = "SELECT id, houseid, hlocation,owneremail FROM #__rem_houses WHERE id=".$bids[$i].";";


and replace to row:

Code:

$zapros = "SELECT id, htitle, houseid, hlocation,owneremail FROM #__rem_houses WHERE id=".$bids[$i].";";


after that you will need add "$item_house[0]->htitle" to email body.

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?