Product & Vendor Inquiries

MarketKing comes with an optional product & vendor inquiries module that allows customers to easily communicate with vendors. Customers can either ask questions directly in the product page via a dedicated tab, or in the vendor store page.

The module can be enabled via MarketKing -> Modules

This system is also integrated with MarketKing's powerful messaging module, and allows customers and vendors to send messages back-and-forth directly from their vendor dashboard and customer my account page.

There are various differences in how inquiries work for logged in and logged out users, as explained below.

Inquiry via the Vendor Page
Inquiry through the Product Page

Module Settings

There are 3 main settings available for the module:

  • Enable Product Page Inquiries: this adds a "Product Inquiry" tab in the product page
  • Enable Vendor Page Inquiries: this adds a "Contact" tab with a form in the vendor store page
  • Inquiries Use Messaging System: with this disabled, inquiries are only sent by email. If this feature is enabled, then the plugin uses the messaging module to create conversations that show up in the vendor dashboard, and customers' my account page.
Module Settings Page

Messaging System

If the "Inquiries use messaging system" option is enabled, then the plugin will create conversations that both users can reply to.

Inquiry as viewed in the vendor dashboard page

In the vendor dashboard, inquiries shows under the "Messages" tab. Vendors can directly reply here. However, if the inquiry is sent by a logged out user, then the system will not allow the vendor to reply, and instead will direct the vendor to email the user directly.

Inquiry sent by logged out user - vendor cannot reply directly as the customer does not have an account.

If the customer who sends the inquiry is logged in, their inquiry will show up in My Account, under the "Messages" tab. The conversation can continue here, and the customer can ask additional questions.

Messages tab in the My account page
Customer inquiry in the user's my account panel

Emails

Depending on the vendor's email preference settings, the plugin will also send out emails notifying them of new inquiries:

Email received by vendor (sent through the vendor store page)

How it Works for Logged Out Users

For logged out users, the plugin will also request the name and email of the customer in order to allow them to submit the form.

Name and email are also requested from logged out users

The plugin will check that the fields are not empty and will also validate the email format:

Email validation error

Vendors / admin (for admin products) receive a message, and are advised to email the customer as they do not have an account:

System Message in Vendor Dashboard
System Message in Admin Dashboard

Purchase Information

Emails and the messaging tab will also let vendors know if a user has purchased a product, when making a product inquiry.

Email showing that a user has not purchased the product.

Enable Phone Field

A phone field can also be enabled for logged out users, by adding a PHP code snippet to the site:

add_filter('marketking_inquiry_enable_phone', function($val){
    return true;
}, 10, 1);

Powered by BetterDocs