Skip to content

Store and Vendor Listings

The addon provides three ways to display vendors and stores on the front end: two shortcodes and a widget. All three render Reign-styled grids built from Dokan’s seller data.

The store listing outputs a paged grid of Dokan stores with an optional search box. It is produced by the [rda_dokan_store_listing] shortcode.

  • Results are paged. The number of stores per page, the number per row, and whether to show the vendor search box are all controlled by shortcode attributes.
  • When search is enabled, a dokan_seller_search query looks up stores by store name.
  • You can limit the grid to featured vendors, or to a fixed list of vendor IDs.
  • An optional slider mode is available.

The store listing renders through Dokan’s store-lists template part, so the theme’s store list layout applies. See the Store Listing Shortcode for every attribute.

The [rda_dokan_vendors] shortcode outputs a vendor grid with a title, a configurable number of vendors and columns, featured-only filtering, four layout styles, and an optional slider. Each vendor card shows the store name, star rating (or a “Not rated yet” note), avatar, and a Visit Store button. See the Vendors Shortcode.

The same vendor grid is available as a widget, “Reign - Vendors”, for sidebars and widget areas. It exposes the same options through the widget form: title, vendors per row, number of vendors, featured-only, slider, one of four layouts, and a comma-separated list of vendor IDs. See the Vendors Widget.

The vendor grid (shortcode and widget) supports four layouts:

  • Layout 1 shows vendor details next to the avatar.
  • Layout 2 shows the avatar next to vendor details, in reversed order.
  • Layout 3 and Layout 4 show the avatar with the store name only.

The Dokan store archive page itself follows the Store List Layout Customizer option (Layout One or Layout Two). See Customizer Options.