Overriding Vendor/Store Template

This topic contains 5 replies, has 2 voices, and was last updated by WCFM Forum WCFM Forum 5 months ago.

  • Author
    Posts
  • #80475
    Avatar
    todd fuller
    Participant

    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.

  • #80585
    WCFM Forum
    WCFM Forum
    Keymaster

    Hi,

    Sure, you have to override “store templates” from here – plugins\wc-multivendor-marketplace\views\store

    Under themes\CHILD THEME\wcfm\store

    Thank You

  • #82013
    Avatar
    todd fuller
    Participant

    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.

  • #82451
    WCFM Forum
    WCFM Forum
    Keymaster

    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

  • #82682
    Avatar
    todd fuller
    Participant

    Nope. $_GET is empty even when you go into the categories from the sidebar.

  • #82905
    WCFM Forum
    WCFM Forum
    Keymaster

    Hi,

    Store page category filter look like this – https://wcfmmp.wcfmdemos.com/store/demo-vendor/category/car-rental/

    Thank You

You must be logged in to reply to this topic.