Difference between revisions of "Extensions:View Only Shops"
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= | + | {{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}} |
| − | + | 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 == | ||
| − | < | + | Run the following command: |
| + | <code>php artisan migrate</code> | ||
== Configuration == | == 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 == | == 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 == | ||
| − | < | + | <gallery> |
| − | + | 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> | |
Latest revision as of 09:55, 20 April 2024
| 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.
Contents
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.