duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
143 stars 36 forks source link

Site config not found [deutsch] #935

Closed j3ll3yfi5h closed 9 months ago

j3ll3yfi5h commented 9 months ago

Description

Hello @duncanmcclean I'm currently trying out your simple commerce addon and installed it inside an existing installation. I only have one site, but the site handle was changed from default to deutsch.

Because of this it's returning an error: Site config not found [deutsch]

Steps to reproduce

  1. Install Statamic (no multisite)
  2. Change site handle from default to something else
  3. Install SC with composer
  4. Login and try to create a product
  5. See the error.

Environment

Laravel Version: 10.32.1 PHP Version: 8.2.11 Statamic: 4.34.0 PRO doublethreedigital/simple-commerce: 5.6.0

duncanmcclean commented 9 months ago

What do these two files look like?

For each of the sites you have setup in sites.php, you need to configure them in your simple-commerce config.

j3ll3yfi5h commented 9 months ago

Aha! Alright...not a bug then. 😅 Thank you for the clarification!