Difference between revisions of "Extensions:View Only Shops"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page)
Tag: 2017 source edit
 
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=View Only Shops|desc=Ads the option to make shops view-only.|auth=CH3RVB|status=Stable|github={{Github|user=CH3RVB|branch=extension/view-only-shops}}|LKVer=2.0.0|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
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 ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Run the following command:
 +
<code>php artisan migrate</code>
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
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 ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
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.
== Troubleshooting ==
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
 
== Images ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
<gallery>
== See Also ==
+
File:ViewOnlyShopAdmin.png|An example of a view-only shop as seen from "inside" the shop.
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
File:ViewOnlyShopInex.png|An example of a view-only shop as seen from the shop index page.
 
+
</gallery>

Latest revision as of 09: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