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 on the product page via a dedicated tab, or on the vendor store page.

The module can be enabled via MarketKing -> Modules

This system is also integrated with MarketKing's powerful messaging module, allowing customers and vendors to send messages back and forth directly from the vendor dashboard and the customer's My Account page.

There are several 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 on the product page.
  • Enable Vendor Page Inquiries: this adds a "Contact" tab with a form on the vendor store page.
  • Inquiries Use Messaging System: with this disabled, inquiries are only sent by email. If this option is enabled, the plugin uses the messaging module to create conversations that show up in the vendor dashboard and the customer's My Account page.
Module Settings Page

Messaging System

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

Inquiry as viewed in the vendor dashboard

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

Inquiry sent by a logged-out user. The vendor cannot reply directly because 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 a vendor (sent through the vendor store page)

How It Works for Logged-Out Users

For logged-out users, the plugin will also request the customer's name and email address 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 (or the admin, for admin products) receive a message and are advised to email the customer, as the customer does 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 whether 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