|Description||Users can create and run their own shops to sell items.|
|Author(s)||CH3RVB (Extension), Ne-wt(Shop features/pets&shops)|
|Contains a Migration|
Lets users make their own shops, from which they can add items to them and sell them for currency. Users can buy from the shops of other users, and they will be credited the currency from the purchase. (Only user-held currencies with user-user transfer are allowed for sales)
Users can search all shops for items that they want to buy (using a search function) and buttons have been added to sellable items for quick links to see if anyone is selling that item.
Users can customize their shop, setting their own shop image and description to show off their personality and create their own unique storefront.
Users can only sell items that they have gotten from gameplay, no custom items or anything.
Credit to newt for the original shop features/pets&shops code, which I referenced heavily to enable multiple stock types and generally make the layouts nicer!
thanks to min for making the quick stock layout look nicer as well!
You can get a version of this extension that supports pet stock here: https://github.com/CH3RVB/lorekeeper/tree/user-shops-pets
Pets version supports variants in shops as well
php artisan migrate,
php artisan add-site-settings,
php artisan optimize ,
php artisan update-extension-tracker
Run these codes after installation and merge conflicts have been handled.
Admin side configuration:
- Set the number of allowed shops from the admin site settings panel. This number is the maximum amount of shops a user can make, it should probably be set to 1 (default) if you don't want things to get too crazy, but this ext is built to allow multiple to exist even when used by the same user.
- Set the item (and pet, if you have them installed) categories. These categories now have a new setting that lets the admin restrict what can and cannot be sold in these shops.
If you have any extensions that rely on item data, such as Giftwrap, then make sure to disable them from being able to be sold, as setting items in the shops wipes their data.
After installation, things are free to move on their own without admin moderation.
Please contact me if you find any bugs!
i'm SUPERCOOL in the lk server!
See it live on my site https://www.merlotarpg.com/user-shops/shop-index
Support Newt! https://ko-fi.com/scuffednewt