Skip to content

Single Product Enhancements

On WooCommerce single product pages, the addon can show vendor context around the product. Every item on this page is controlled from the Customizer, under Reign Dokan > Product Page (and Store Page for the store header). See Customizer Options.

When Display Vendor Header is enabled, the vendor’s store header is rendered at the top of the product page, above the content. The header width follows the Vendor Header Width option (Full Width or Container Width), which appears only when the header is enabled.

This uses the same Dokan store-header template part as the store page, so the header matches the vendor’s store.

When Display Vendor’s Products Section is enabled, a strip of other products from the same vendor is shown on the product page. The strip includes:

  • The vendor avatar, store name (linked), and a Visit Store button.
  • A row of product thumbnails with hover tooltips showing the product title.
  • A “+N More” tile linking to the vendor’s store when the vendor has more products than are shown.

The number of products is set by the Number of Products option (default 10). The query is bounded to that number, and the “+N More” count reflects the true total.

When Display “Sold By” Information is enabled (on by default), a “Sold By: [store name]” line is added to the WooCommerce product meta, linking to the vendor’s store. It appears only when the product author is a Dokan seller.

When Display Vendor Information is enabled, a vendor info box is added to the product summary. It shows the vendor avatar, store name, star rating (when the store has ratings), the store address (unless the vendor hid it), the store phone (when set), and a Visit Store link. It appears only when the product author is a Dokan seller.

On the store page itself, the Store Header Position option controls whether the store header renders at the top of the page. When set to Top, the Store Header Layout option (Fullwidth or Container) sets the header wrapper width.

When a vendor opens the front-end product edit screen, the addon adds a rda-product-edit-screen body class so the theme can style that screen. The vendor header and vendor products strip are suppressed on the edit screen.