Tennant just have default product option when try to create product

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
AleksandarJovanovic
Posts: 26
Joined: 01 Jun 2022, 21:26

Tennant just have default product option when try to create product

Post by AleksandarJovanovic » 02 Jan 2024, 12:23

Aimeos version 2023.10
Php: 8.1
Linux

I am utilizing the multi-shop functionality provided by the Aimeos Laravel package. I have successfully created one tenant, although not through the registration form, but rather via the admin panel in the Locale/Site section, and it is functioning properly.

However, when attempting to create an article from the tenant's admin panel, I only see the default product. I am unable to use bundles, subscribe to events, or manage groups, among other functionalities.

P.S. When I register a new shop using the registration form, everything works as intended.

Wishing you a Happy New Year and all the best!

Alex :)

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Tennant just have default product option when try to create product

Post by aimeos » 04 Jan 2024, 08:27

If you create a new tenant via the admin backend in a SaaS setup, you have to execute the setup tasks manually:

Code: Select all

php artisan aimeos:setup <newsite>
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AleksandarJovanovic
Posts: 26
Joined: 01 Jun 2022, 21:26

Re: Tennant just have default product option when try to create product

Post by AleksandarJovanovic » 06 Jan 2024, 14:51

Thank you very much. I added one tenant, and it works. However, when I try to delete the old tenant, an error shows up. Could you please tell me if there's a command to delete a tenant via the terminal?
Best regards,
Alex

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Tennant just have default product option when try to create product

Post by aimeos » 09 Jan 2024, 11:22

There's no way to delete a site from the CLI yet.
Deleting a site in the admin backend causes an error because the site is deleted but the next request to display the admin panel still refers to that site. Maybe redirecting to / might be an option?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply