Difference between revisions of "Extensions:View Only Shops"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 11: Line 11:
 
== Images ==
 
== Images ==
 
<gallery>
 
<gallery>
File:ViewOnlyShopAdmin.png|An example of a view-only shop from "inside" the shop.
+
File:ViewOnlyShopAdmin.png|An example of a view-only shop as seen from "inside" the shop.
 +
File:ViewOnlyShopIndex.png|An example of a view-only shop as seen from the shop index page.
 
</gallery>
 
</gallery>

Revision as of 08:38, 20 April 2024

View Only Shops
Description Ads the option to make shops view-only.
Author(s) CH3RVB
Status Stable
Github extension/view-only-shops
LK Version 2.0.0
Contains a Migration



Adds a button to shops, that when turned on, makes the shop visible, but grayed out on the homepage to show users it's view-only.

Installation

Run the following command: php artisan migrate

Configuration

You will have to toggle on both "is_active" and "view_only" for a view-only shop so that a view-only shop won't accidentally show up when you're not prepared

Usage

Good for seasonal shops where you'd like to show users what a shop sells, without letting them purchase things, or other cases where you want to preview stock.

Images

Images