evershopcommerce / evershop

🛍️ NodeJS E-commerce Platform
https://evershop.io/
GNU General Public License v3.0
4.5k stars 1.24k forks source link

[SUPPORT] customise store attributes #591

Closed cody151 closed 3 months ago

cody151 commented 3 months ago

I haven't been able to figure out how to put my own logo as currently it just shows "evershop" , I'd like to customise my store with my own logo and text etc. i used npx create-evershop-app to create and then build it. Any ideas?

treoden commented 3 months ago

Hi @cody151 If you want to change the logo. check this: https://evershop.io/docs/development/knowledge-base/configuration-guide#theming-configuration Thanks

cody151 commented 3 months ago

Hi @cody151 If you want to change the logo. check this: https://evershop.io/docs/development/knowledge-base/configuration-guide#theming-configuration Thanks

Thanks so much, but I'm not sure which file I am supposed to put this in

Theming configuration contains the configuration for the theme. You can configure the logo, favicon, and the meta tag for the storefront.

{
    "themeConfig": {
        "logo": {
            "alt": "You amazing shop logo",
            "src": "/logo.png",
            "width": 100,
            "height": 100
        },
        "headTags": {
            "links": [],
            "metas": [],
            "scripts": []
        },
        "copyRight": "© 2022 Evershop. All Rights Reserved."
    }
}

Is it meant to go into package.json?

cody151 commented 3 months ago

I've added the following to the package.json

{
    "themeConfig": {
        "logo": {
            "alt": "You amazing shop logo",
            "src": "/clothesshoplogo.png",
            "width": 100,
            "height": 100
        },
        "headTags": {
            "links": [],
            "metas": [],
            "scripts": []
        },
        "copyRight": "© 2022 Evershop. All Rights Reserved."
    }
}

and rebuilt and restarted it but it still remains the same at localhost:3000 @treoden

treoden commented 3 months ago

Please read the document, it is from the top of the page: https://evershop.io/docs/development/knowledge-base/configuration-guide#configuration-file-location

Thanks

cody151 commented 3 months ago

Please read the document, it is from the top of the page: https://evershop.io/docs/development/knowledge-base/configuration-guide#configuration-file-location

Thanks

Solved, thanks very much!