View Product Page

Emails

YITH WooCommerce Multi Vendor creates an automatic email when one of the following conditions occurs:

  • the order is completed and commissions for the vendors are generated; the email is sent to administrators.
  • Commissions are paid; the email is sent to administrators and vendors.
  • Registration of a new vendor; the email is sent to administrators.
  • Approval for a vendor account; the email is sent to vendors.
  • A new order is completed and it contains one or more products of a vendor; the email is sent to vendors.
  • An order containing one or more products of a vendor is deleted; the email is sent to vendors.

Any of the previous emails can be set from the “WooCommerce -> Settings -> Emails” section.

Email settings

Customize emails

You can customize template of every email that plugin use.

To edit the email template, select the email and click on the “Copy file to theme” button.

Copy template email

A copy of the email template email will be created within your theme, in the selected path.

Now you can edit the file in two ways: open the file with your editor or directly from the panel: click on the “View Template” button and edit the code as you want.

Shortcodes & blocks

The plugin includes 4 shortcodes that you can use to print your vendors’ info anywhere on your site. Three of them also have an equivalent block with the same settings. Let’s see them all in detail.

  1. Vendors list (shortcode & block)
  2. Become a vendor (shortcode & block)
  3. Vendor name (shortcode & block)
  4. Vendor store header (shortcode only)
  5. Products by vendor ID (shortcode only)

1. Vendors list

[yith_wcmv_list]

Add this shortcode into your page to show the complete list of your vendors in the pages of your site.
The shortcode supports the following attributes:

  • per_page: it lets you paginate the list if you add a maximum number of vendors per page. If you want to show them all, just type the default value -1.
  • hide_no_products_vendor: hide the vendors without products (default: false).
  • show_description: add the vendor description for each vendor (default: false).
  • description_lenght: number of description characters to display (if enabled) (Default: 40).
  • vendor_image: [store/gravatar] allows selecting the image type to combine to vendor’s profile. You can choose between the default one (the store picture) or the gravatar connected to vendor’s email address (gravatar). (Default: store).
  • order_by: [name/slug/description] defines the parameter for vendors organization within the list. Note: for this arg, the allowed values are ‘name’, ‘slug’, ‘term_group’, ‘term_id’, ‘id’, ‘description’. (Default: name).
  • order: [asc/desc] ascending or descending order. Allowed value: ASC or DSC (Default: ASC).
  • include: it allows show only selected vendors, by simply typing their vendor ID. Separate vendors with commas if you want to show more than one.

This shortcode has an equivalent block with the same settings.

Vendors list block
Vendors list block

2. Become a vendor

[yith_wcmv_become_a_vendor]

This shortcode allows adding the vendor registration form anywhere on your site. This form will automatically get the fields that you’ve set up in the → Vendors registration settings.

Registration form

Make sure you add this shortcode onto the page that you’ve selected as Vendor registration page in the → Vendor registration settings.

If you prefer your users to register as vendors when they register as users, please, make sure you enable the Vendor registration on My Account page option, again from the → Vendor registration settings.

This shortcode has an equivalent block.


3. Vendor name

[yith_wcmv_vendor_name]

With this shortcode you can print the vendor’s name and make it either available as simple text or as a link.

This shortocde accepts 3 attributes:

  1. show_by: you can show the vendor name for a product, a vendor or a user (default: vendor)
  2. value: the vendor ID, the product ID or the user ID (default: 0)
  3. type: you can show a clickable vendor name or not. Use link to make the vendor name clickable, otherwise text (default: link).

This shortcode has an equivalent block with the same settings.


4. Vendor store header

[yith_wcmv_vendor_store_header]

This block allows printing all vendor information, which can be useful if you need to customize the vendor page template.

Vendor store header

5. Products by vendor ID

[yith_wcmv_vendor_products vendor_id=""]

This shortcode allows showing products by vendor ID, so, you can show only the products of one or more specific vendors.
You can find the vendor ID in the Vendors List table: make sure the vendor ID column has been enabled from the Screen options. For more details, please, refer to this page.

You can use the following attributes, categorized in two groups.

Display Product Attributes

  • limit -> The number of products to show. Use the default -1 value to show all products.
  • columns –> The number of columns to show. Default: 4.
  • paginate –> Paginate products. To be used in combination with limit. Default: false. Set to true to paginate.
  • orderby –> Sorts the products shown by the selected option. One or more options can be entered by adding both slugs with a space between them. Available option: date (the date when the product was published).
  • id –> The ID of one or more selected products to show.
  • menu_order –> The Menu Order, if set (lower numbers show first).
  • popularity –> The number of purchases.
  • rand –> Randomly order the products on page load (may not work with sites that use caching, as it could save a specific order).
  • rating –> The average product rating.
  • title –> The product title. This is the default orderby mode.
  • skus –> Comma-separated list of product SKUs.
  • category – >Comma-separated list of category slugs.
  • tag –> Comma-separated list of tag slugs.
  • order –> States whether the product order is ascending (ASC) or descending (DESC), using the method set in orderby. Default: ASC.
  • class –> Adds an HTML wrapper class so you can modify the specific output with custom CSS.
  • on_sale –> Retrieves on sale products. Not to be used in conjunction with best_selling or top_rated.
  • best_selling –> Retrieves the best selling products. Not to be used in conjunction with on_sale or top_rated.
  • top_rated –> Retrieves top-rated products. Not to be used in conjunction with on_sale or best_selling.

Content Product Attributes

  • attribute –> Retrieves products using the specified attribute slug.
  • terms –> Comma-separated list of attribute terms to be used with attribute.
  • terms_operator –> Operator to compare attribute terms. Available option: AND (it will show products from all of the chosen attributes); IN (it will show products with the chosen attribute. Default: terms_operator value; NOT IN (it will show products that are not in the chosen attributes).
  • tag_operator –> Operator to compare tags. Available options are: AND (it will show products from all of the chosen tags); IN (it will show products with the chosen tags. Default: tag_operator value); NOT IN (it will show products that are not in the chosen tags).
  • visibility –> It shows products based on the selected visibility. Available options are: visible (products visible on shop and search results. Default: visibility option; catalog (products visible on the shop only, but not search results); search (products visible in search results only, but not on the shop); hidden (products that are hidden from both shop and search, accessible only by direct URL); featured (products that are marked as Featured Products).
  • category –> Retrieves products using the specified category slug.
  • tag –> Retrieves products using the specified tag slug.
  • cat_operator –> Operator to compare category terms. Available options: AND (it will show products that belong to all of the chosen categories); IN (it will show products within the chosen category. Default: cat_operator value); NOT IN (it will show products that are not in the chosen category).
  • ids – > It will show products based on a comma-separated list of Post IDs.
  • skus – > It will show products based on a comma-separated list of SKUs.

Please note – If the product is not showing, make sure it is not set to Hidden in the Catalog Visibility.

Special Product Attributes

These attributes cannot be used with the “Content Product Attributes” listed above, as they will likely cause conflict and not display. You should only use one of the following special attributes.

  • best_selling –> It will show your best selling products. Set to: true.
  • on_sale –> It will show your on-sale products. Set to: true.

Widgets

The plugin includes the following widgets that you can use in any widget area or sidebar.

YITH Vendor List

Vendor list widget - frontend

The widget “YITH Vendor List” shows a list with all vendors in your shop and each vendor name links to the related store page.

Vendor list widget

You can also adjust the following options.

  • Title: widget name
  • Hide this widget on vendor page: this option allows you to hide the widget from the vendor’s store page.
  • Show the vendor’s products quantity: show the number of products associated to the vendor, next to the vendor’s name.
  • Hide vendors with no products: this option allows you to hide vendors that do not have any products from this list.

YITH Vendor Contact Form

Contact form frontend

The “YITH Vendor Contact Form” widget adds a contact form which users can use to send a request to site administrator and to vendor.

Vendor's contact form

“Name” and “Email” fields will automatically be populated with the user’s name and email if logged in.

You can also adjust the following options and labels:

Title: add a title for this widget
Description: add a description for this widget that will appear below the title.
Submit button label text: customize the text of the “Submit” button.

Hide from guests: this option allows you to hide the widget from unlogged users, so only logged-in users will see it.

This widget will show only if you add it to a sidebar or widget area that appears on a vendor’s store page or a vendor’s product page, but you can further choose whether to show it on both of them or not with the options below.

Show on the vendor’s store page: this allows you to show the contact form only on the vendors store page and hide it from other pages of the shop.

Show on the single product page: this allows you to show the contact form on all vendor’s product pages, if added in a sidebar or widget area that appears there. If you are viewing a product that does not belong to any vendor, the form will not appear.

Send a copy to website owner: this allows sending a copy of the email with the user’s message to the administrator.

YITH Vendor Store Location

Vendor's map

The widget “YITH Vendor Store Location” adds a box in the sidebar or widget area with a map (displayed through Google Maps) showing the location of the vendor. You do not have to add any further information, because the map will be automatically generated according to the address added by the vendor in the Store settings.

Store location

Please, note that even if added in a store sidebar, this widget will show only if the sidebar is displayed on a vendor’s store page.

As required by Google, support to displaying integrated maps is limited if no API KEY is specified. For this reason, if you have a Google account, we suggest you enter the API KEY required into the Google Maps API Key option in YITH > Store & Product Pages > Store Page.

Google maps API keys

For further information, please read this page.

Reports (legacy)

For both the vendor and the admin, you can check the Dashboard for detailed reports about your vendors’ sales, which is available since version 4.0.

Yet, we’re keeping also the legacy reports available in WooCommerce > Reports > Vendors.

Please, note: these reports are only available for the admin.

Report

The report is made of two main sections: vendors sales and vendors registrations.

1. Vendors sales

Here you find a report of all sales of vendors’ products.

Report for vendor

Sales report can be filtered using the following filters:

  • Search Vendors: enter the name of a vendor, to display his/her sales only.
  • Top Sellers: select and view the sales report for one of the vendors with most sales on your store.
  • Top Earners: select and view the sales report for one of your top earners.

2. Vendor registrations

In this section, you can find reports about how many vendors have registered in your store.

Report vendor registrati

YITH Account Funds

YITH Account Funds allows all users to have a virtual wallet on your site. They can make a deposit, so the deposited amount can be used as credit for purchases on the site.

The integration with YITH Account Funds allows you to issue vendors’ payouts into their digital wallet.

Additionally, if you also install YITH PayPal Payouts, your vendors can request a payment of their store credit into their PayPal account.

On this page, we’ll go through the following topics.

  1. Activate Account Funds gateway – and get vendors commission credited to a virtual wallet
  2. Extra options for vendors using YITH Account Funds – included redeeming funds with PayPal

1. Activate Account Funds gateway

To enable YITH Account Funds as a gateway and credit vendors’ commissions to their virtual wallet on your site, you just have to make sure that both plugins are installed and enabled from the Plugins page.

Then, enable the Account Funds payment method in YITH > Multi Vendor > Commissions > Gateways.

Activate Account funds

Now, if you want to pay commissions to vendors automatically during the checkout through YITH Account Funds, go back to the Commissions Settings section, and select it as default payment.

Pay commissions in checkout

This is the gateway that will be used by default for automatic payments of vendors commissions. Yet, you can also pay the commissions manually through Account Funds as explained here.

The vendor will be able to see a report of all payments in My Account > Income/Expenditure History.

For more details about the configuration of YITH Account Funds, please, refer to the full documentation here.

2. Extra options for vendors

Whenever you activate Multi Vendor and Account funds, you will be able to see a dedicated tab in the plugin settings YITH > Account Funds > Vendors & Funds. This tab includes two sections, the General settings and the Redeem funds one.

2.1 General settings

In the General settings, you can enable or disable the following options:

  • The vendor can charge funds: this option allows your vendors to deposit funds in their online wallet like any other customer.
  • The vendor can use funds: this option allows your vendors to use their funds to purchase products of your shop.
Funds settings

2.2 Redeem funds with PayPal Payouts

The second section, instead, allows you to configure how vendors can Redeem their collected funds.

Please, note that this specific option requires an additional plugin to be installed, so you’ll need all the three plugins below:

Why should I use this combination of plugins instead of using only YITH PayPal Payouts?

  • If you want to reduce the number of transactions via PayPal and any possible issues with them or with expensive fees.
  • If you want to incentivate your vendors to purchase from your store using their credit, so you both can save on transaction fees.

In this tab, you can set up the redeeming option either as a manual or an automatic process.

Redeem funds
  • Vendor can redeem: make sure you enable this option to let vendors redeem their available funds.
  • Minimum funds to redeem: set the minimum balance necessary for a vendor to redeem funds.
  • Maximum funds to redeem: set the maximum funds that can be redeemed in a transaction, leave empty to disable this restriction.
  • Gateway Method: set the gateway to use for transferring funds from the site to the vendor. At the moment only PayPal Payouts is available and it requires YITH PayPal Payouts For WooCommerce Premium 1.0.12 to use this feature. Please, note that you will pay a fee to transfer money from the site to PayPal.

Now you can choose whether to redeem them automatically or manually.

2.2.1 Automatic payment
  • Automatic Redeem Type: this option allows you to let vendors be paid automatically instead of submitting a payment request every time.
    • None: select this if you want to keep the automatic feature disabled. Make sure you select the manual redeem below to let your vendors submit a request at any time from My Account page (see below).
    • Automatically when the minimum threshold is reached: this way you can issue automatic payments as soon as the minimum amount set above is reached.
    • Automatically, on a specific day and when the minimum threshold is reached: this way you can issue automatic payments on the 1st of the month (or any other day you set) but only for vendors’ accounts that have reached the minimum amount set above. Vendors can however submit a payment request manually if the ‘Manual redeem’ option below is enabled.
      • Redeem Day: choose the day on which issuing the automatic payment, i.e. enter 1 to issue payments automatically on the first of every month.

All transactions will be visible to the vendor in My Account > Income/Expenditure History.

transaction-history-my-account
2.2.2 Manual redemption

Alternatively or in addition to the automatic payment, you can also let vendors redeem their available funds manually on request. Below in YITH > Account Funds > Vendors & Funds, these are the options that you have to configure:

manual-redemption
  • Manual Redeem: enable this option if you want to allow also manual redemption and submit a request from My Account. By enabling this option, you will also be able to customize the button text and colour.
    • Redeem Button: customize the label of the button shown in My Account here.
    • Redeem Button Text Color
    • Redeem Button Color

If you enable this option, your vendors will be able to see a dedicated section in My Account > Redeem funds, from where they can submit a request and being paid immediately.

They can enter a custom amount (between the minimum and maximum allowed if you’ve set up these values in the settings) and as soon as they send the request the payment will be processed through the gateway that you’ve selected (only YITH PayPal Payouts available at the moment).

The payment will be will be recorded in the Income/Expenditure History.

transaction-history-my-account (1)

The transaction status will be available in My Account > Payouts and the admin can check the transaction in PayPal Payouts > Payouts List > Details.

Payout details

For more details about the configuration of YITH PayPal Payouts, please, refer to the full documentation here.

YITH PayPal Payouts

You can use YITH PayPal Payouts for WooCommerce to pay your vendors’ commissions automatically.

To start using it, make sure that both plugins are installed and activated.

Then, go to the plugin settings under YITH > Multi Vendor > Commissions > Gateways, where you can find all the available gateways for your vendors’ payouts, and enable YITH PayPal Payouts after configuring it on your shop as explained on this page.

PayPal Payouts

Now, if you want to pay vendors commissions automatically, go back to the Commissions Settings section, and select it as default payment gateway.

Commissions settings

This is the gateway that will be used by default for automatic payments of vendors commissions. Yet, you can also pay the commissions manually through PayPal Payouts as explained here.

Exclude vendors’ products from Payouts commissions

If you want to avoid that vendors’ products are included in the total calculation of your store’s receivers commissions, we suggest you enable the following option from YITH > PayPal Payouts > General settings > Multi Vendor Settings.

Multi vendor settings

Suppose you get an order with 2 products. Product A belongs to vendor A and costs €60, product B does not belong to any vendor and costs €40, so the total order is worth €100. In addition to this, you have set one receiver with a 50% commission.

If the option is disabled, your receiver will get €50.

If the option is enabled, product A is excluded, so the receiver will get €20, which is 50% of product B price only.

If you want to read more about PayPal Payouts configuration settings, please, refer to the official plugin documentation.

Notifications

When a payout is made, PayPal sends a notification to both the sender and the receiver. You can customize the email subject and content from YITH PayPal Payouts > Notifications. To show the vendor commission and order IDs in the content of the email, you can use the placeholder ´{commission_ids} and {order_id}.

Vendor notification

YITH Stripe Connect

The integration with YITH Stripe Connect for WooCommerce allows the admin to split the price of one or more products between the vendor and the admin immediately after the checkout and based on the commission rate that you’ve agreed with them.

First of all, make sure you’ve installed and enabled YITH Stripe Connect for WooCommerce from Plugins menu.

Configure it as explained on the page Connect admin account from the official plugin documentation.

Then, go to YITH > Multi Vendor > Commissions > Gateways and enable YITH Stripe Connect to activate this service for your vendors.

Activate stripe connect

Make sure you set the redirect URI in your Stripe account. A warning message in the plugin settings panel will remind you about this and will show you the right address to add. It will look like this:

Stripe URI

Configure the URI from Stripe Connect dashboard.

The URI that you have to add to make Multi Vendor work correctly is not Stripe default URI, but an additional one. This means that if you remove the default one, the button Connect Stripe in My Account page will not work. Make sure, then, you do not remove it.

Redirect URI

Now, go back to the Commissions Settings section, and select Stripe Connect as the default payment gateway for vendors payouts during the checkout.

Select checkout gateway

This is the gateway that will be used by default for automatic payments of vendors commissions. Yet, you can also pay the commissions manually through Stripe Connect as explained here.

How do payments on checkout work?

Stripe provides a detailed description of what the whole process is about. You will find this explained in the plugin options panel in YITH > Multi Vendor > Commissions > Gateways and can refer to Stripe official page for further details.

Send Money to vendor on payment completed
When creating charges on your platform and separately creating a transfer, the platform can earn money by allocating less of the charge amount to the destination Stripe account, as in the above code example. Assuming that represents a delivery service transaction, with a charge to the customer of $100, a transfer of $20 to the delivery person, and a transfer of $70 to the restaurant:

  1. The charge amount less the Stripe fees is added to the platform account’s pending balance
  2. When the platform’s available balance is sufficient (at least $90), the transfers can be made, reducing the platform’s available balance by the specified amounts and increasing both connected account’s available balances by that same amount
  3. The platform retains an additional $6.80 ($100.00 – $70.00 – $20.00 – $3.20, assuming standard U.S. Stripe fees).
Stripe payment details

Fees for the payment of commissions are charged to the admin. Please, refer to this page to learn more about transaction fees.

Payments on the backend

If, for any reason, the payment of vendor commissions fails, or if there is no default payment gateway enabled, you’ll be able to use any of the supported payment methods to pay the vendor commissions manually from the Commissions list page.

Manual payment in bulk
Single commission payment

If you have unpaid commissions, this may depend on three main reasons:

  1. You haven’t enabled the Pay vendors commissions during checkout or have not selected any gateway in it.
  2. Your account balance was not sufficient to pay all commissions.
  3. Your vendors haven’t activated their Stripe account yet.

Let’s see how to solve the latter issue below.

If a vendor has not activated Stripe yet

Because of Stripe policy, every vendor has to explicitly authorize Stripe to be credited any payment to his/her account.

Note: this action can only be performed by the vendor and there is no way for the admin to do this on his/her behalf.

Make sure your vendor visits his/her dashboard and goes to Your shop > Payment info. Here they can find the Connect with Stripe button and click on it.

Vendor activate Stripe account

They will be taken to Stripe site. If they already have an account, they can simply log in. If they do not have any yet, they will be asked to create a new one:

account-stripe

Vendors will be able to see the very same button in their reserved area, My Account > Stripe Connect.

Stripe button in My account

…and will be able to also see and export a list with all transactions related to his/her own commissions.

Stripe button in my account with vendor commissions

After the vendor has authorized Stripe account to receive money, you can go on and pay the commissions manually from the Commissions page as explained here.

Please, refer to Stripe official page for any details about the payments and transaction fees.

Commission reports

If you want to, you can also Add vendors’ commissions to Stripe Connect Commission Reports. You can enable the dedicated option from the gateway details in Commissions > Gateway as you can see below.

Add vendors commissions to Stripe reports

All commission vendors payouts made through Stripe Connect will appear in your Stripe Connect Report that you can also find in YITH > Stripe Connect > Commissions (for more details please refer to this page).

paid commissions

How to customize plugin templates

In order to override plugin files, you just have to create into the folder WooCommerce of your theme the same tree structure you find in the plugin.
Let’s say, for example, that you want to override the file vendor-list.php, that is in the folder templates > widgets in the plugin.

Template file

Copy the file you want to edit from plugin folder (in this case vendor-list.php in templates > widgets). Then, go to folder WooCommerce of your theme and create exactly the same path you find in the plugin (starting after “templates”) for that file.
So, in this case, you have to create the folder widgets and paste template file into this folder. Then, paste the copied file into this path.

Paste file in woococommerce folder

How to create a vendors menu

The plugin supports the possibility to use each vendor as menu field. This allows you to create a new WordPress menu including the list of vendors you have selected.

Click on WordPress “Appearance -> Menus”. Create a new menu or select one already available in which you want to insert the list of vendors.

Select menu

Now enable, in case it isn’t, “Vendors” field that you find in “Screen options”.

Screen options -> Vendors

Now select and insert the vendors within your menu.

Select vendors

Here is an example of menu that includes the list of vendors of the site.

Vendors menu

How can the admin switch to vendor’s panel

The plugin allows the administrator to switch to the vendor’s dashboard.

To apply the switching, it is essential to have the User Switching free plugin installed and enabled.

Now, go to Vendors and click on the entry Switch to for the related vendor.

User switching option