Store Layouts
The addon offers two layouts for the WCFM single-store page (the public page for one vendor’s shop). You choose the layout once, and it applies to every vendor store on the site.
The two layouts
Section titled “The two layouts”- Layout 1 - the WCFM Marketplace default store template, styled for Reign. This is the default when the setting is unset.
- Layout 2 - the addon’s own store template (
templates/reign-wcfm-store-layout2.php), which replaces WCFM’sstore/wcfmmp-view-store.php.
How to switch layouts
Section titled “How to switch layouts”- Open Reign Options > WCFM Marketplace.
- Select the Single Store sub-tab.
- Set Single Store Layout to Layout 1 or Layout 2.
- Save.
The setting is stored as reign_wcfm_store_layout inside the shared theme option. See Configure settings.
What Layout 2 changes
Section titled “What Layout 2 changes”When Layout 2 is selected, the addon does two things:
- Template swap. On the
wcfm_locate_templatefilter, it points WCFM’sstore/wcfmmp-view-store.phprequest at the addon’s Layout 2 template. - Wrapper class. On the
wcfm_store_wrapper_classfilter, it adds alayout_twoclass to the store wrapper element (#wcfmmp-store), which the addon’s CSS targets. When Layout 1 is active, the class islayout_one.
The Layout 2 template renders the full WCFM store: banner (image, slider, or video), the vendor header (avatar, rating, address, phone, email, follow, enquiry, social), the store tab strip, and the products or the selected sub-tab (About, Policies, Reviews, Followers, Followings, Articles). It keeps calling the same WCFM template hooks the original store template fires, so WCFM add-on features that hook into the store page (enquiry, follow, badges) continue to appear.
Requirements for Layout 2
Section titled “Requirements for Layout 2”Layout 2 depends on WCFM Marketplace being active. The template bails out cleanly (renders nothing extra) if the vendor store object or the WCFM helper functions are not available, so it cannot fatal when WCFM is inactive.

