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
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
== Usage ==
 
== 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.  
 
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 ==
 
== 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:ViewOnlyShopInex.png|An example of a view-only shop as seen from the shop index page.
 
</gallery>
 
</gallery>

Latest revision as of 08:55, 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