Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Overriding Vendor/Store Template
- This topic has 5 replies, 2 voices, and was last updated 5 years, 3 months ago by WCFM Forum.
- AuthorPosts
- September 6, 2019 at 8:00 pm #80475todd fullerParticipant
How do we override the templates for the Vendor/Store Page? We would like to make template/display changes to the actual template and not simply edit the colors/css as provided in the WCFM Settings page.
- September 7, 2019 at 12:28 pm #80585WCFM ForumMember
Hi,
Sure, you have to override “store templates” from here – plugins\wc-multivendor-marketplace\views\store
Under themes\CHILD THEME\wcfm\store
Thank You
- September 16, 2019 at 9:40 pm #82013todd fullerParticipant
How can we narrow down the wcfm_is_store_page() code to specifically target the Vendor’s home page before they can choose any categories.
Basically, we want something to show on the Vendor’s homepage but not when they’ve already chosen a category or filtered down the Vendor products.
wcfm_is_store_page() seems to encompass all of those pages and not just the initial page load.
- September 19, 2019 at 4:47 pm #82451WCFM ForumMember
Hi,
Basically, we want something to show on the Vendor’s homepage but not when they’ve already chosen a category or filtered down the Vendor products.
– Well, such filters works depend upon “$_GET” parameters. So may check using that.
If there is no get parameter that mean it’s store home page, if get parameter is there then it’s filtered page!
Thank You
- September 20, 2019 at 8:56 pm #82682todd fullerParticipant
Nope. $_GET is empty even when you go into the categories from the sidebar.
- September 22, 2019 at 1:10 pm #82905WCFM ForumMember
Hi,
Store page category filter look like this – https://wcfmmp.wcfmdemos.com/store/demo-vendor/category/car-rental/
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.