Extend vendor to seller request package

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!
hadoo
Posts: 7
Joined: 03 Oct 2023, 11:09

Extend vendor to seller request package

Post by hadoo » 12 Oct 2023, 13:12

Hello aimeos team

I want to add new panel in admin (sellers requests) the logic its will be accept or reject them.

I used your topic : creating managers
but it is not worked for me .

1-how to get the sellers request data ?
2-how to present this data in blade page ?
3-how to create action to approve or reject sellers requests ?

Can you explain to me step by step please ?

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

Re: Extend vendor to seller request package

Post by aimeos » 13 Oct 2023, 14:31

First of all: What is a seller request in your terminology?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

hadoo
Posts: 7
Joined: 03 Oct 2023, 11:09

Re: Extend vendor to seller request package

Post by hadoo » 23 Oct 2023, 11:21

seller request mean when any user make register i would not made for him site,
i will review his documents after that maybe i will accept him or reject him.

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

Re: Extend vendor to seller request package

Post by aimeos » 26 Oct 2023, 07:47

The easiest way would be to set newly registered accounts to "review" (-1) here:
https://github.com/aimeos/aimeos/blob/m ... er.php#L68

Then, they are able to use the backend but can't sell their products.

If you don't want them to get an account at all until you create one for them, just create an e-mail with the documents using the Laravel API and send them to your own e-mail account. You don't need to extend Aimeos for that because registration and authentication is completely done using Laravel means.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply