• Resolved Fabricio10

    (@fabriciobarros10)


    How do I make a seller’s page the home page?

    I need my site to open directly at: mysite.com/store/user

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @fabriciobarros10

    I am not clear about your requirement. Would you mind clarifying a bit more about which page did you refer to exactly by addressing seller's page so that I can connect more with your query?

    You can share a screenshot of the page that you are referring to using this tool or if your site is live then you can share the link to that page if you want.

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @jahidulhassan I want to leave a seller’s store as the home page. store/user

    as it is not a page it does not appear in the pages to select

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @fabriciobarros10

    Usually, in a multivendor marketplace, it is expected to have multiple vendors. It seems like a specific requirement of your business to set a single store page as a home page as it does not align with a generic multi-vendor marketplace.

    However, as the single store page is not an actual page, by default this feature is unavailable to set the single store page as the homepage.

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @jahidulhassan

    in my project i am using only one store as i want to use dokan sales panel to manage my sales.

    That’s why I want the site to open directly on the seller’s page.

    as the store url is not a page I can’t select it in the theme options to set it as the main page

    so what I need is just to leave the seller’s page as the homepage of the site.

    example: http://www.site.com/store/mydokanstore

    as ( /store/mydokanstore ) is not a page I can’t add it as a home page in the theme selection options.

    • This reply was modified 9 months ago by Fabricio10.
    • This reply was modified 9 months ago by Fabricio10.
    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @fabriciobarros10

    You are totally right! As the single store page is an actual page, you will not be able to set it as your WordPress site’s home page.

    If you want to set a custom URL as your homepage, then this will require proper customization. You can have a look at this code that I found out and hopefully, it will help you or at least give you a clue.

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @jahidulhassan
    does not work. fatal error

    Plugin Support Tanjir Al Mamun

    (@tanjiralmamun)

    Hi @fabriciobarros10,

    WordPress requires the page ID to set a page as a homepage. Dokan Single Store Page is a custom template-generated page with no ID.

    Therefore, the Single Store Page cannot be set as a homepage.

    However, you maybe achieve your requirement using the template_redirect hook or modifying the .htaccess file. But I cannot assure you. You can try the Stackoverflow forum solution.

    If the forum solution does not work, you can contact a developer for help. As this is a custom requirement, we cannot further help you with this case.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘home page’ is closed to new replies.