Feature request: A way to contact the author (store, seller).
-
Feature request: A section on how to contact the author (store, seller).
In the Ad Details page, show information about the ad author and a form to contact him about the item being sold.Requirements:
– Be able to choose which author fields (see the other feature request called “An author section”) to show in, like name, website, phone number. Show fields with content and hide the empty ones (if an author didn’t put his phone number, don’t show).
– A form where other users can send an email to the author.
– The only field necessary is a textarea with a message.
– Add a parameter “Contact Author Options”, with “Anyone” and “Only registered users” in Settings.
If “Anyone”, then show Name, Email, and Message in the contact seller form.
If “Only Registered Users”, then only Message.
The subject is the title of the ad, Reply-To is the inquiring user’s email address (either from the form or from the database if “Only Registered” is selected, To is the Author’s email address, and the textarea is the message. Add a parameter in Settings to specify the From address.– Ability to customize the email template. We can use variables like this:
Email Template
——————
Subject: #Title# on #SiteName#From: #email in settings#
To: #author_email
Reply-To: #Email field or user’s email#
Message:Message from : #Name field or user’s Name#
#Title# on #SiteName#
#ad url#
#textarea#
——————Bonus:
– If a registered user has contacted an author about an ad, record this information and display on the site a little notice in green “contacted”.Reference: https://wpadverts.com/documentation/contact-form/
- The topic ‘Feature request: A way to contact the author (store, seller).’ is closed to new replies.