Difference between revisions of "Extensions:Shop Features"

From Lorekeeper Wiki
Jump to navigation Jump to search
m
Tag: 2017 source edit
(Updated description in detail and added info about the purchase limit timeout)
Tag: 2017 source edit
Line 1: Line 1:
 
{{Extensioninfobox|title=Shop Features|desc=Makes shops a little more useful!|auth=Ne-wt|status=Testing|github={{Github|user=ne-wt|branch=shop-features}}|migration=yes|package=no}}
 
{{Extensioninfobox|title=Shop Features|desc=Makes shops a little more useful!|auth=Ne-wt|status=Testing|github={{Github|user=ne-wt|branch=shop-features}}|migration=yes|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 +
== Features Included ==
 +
Shop Features adds a number of useful additions to shops:
 +
# Makes it possible to create "Staff" or "FTO" only shops
 +
# Makes it possible to limit shop access to only users with a particular item
 +
# Adds a "Coupon" tag for items so that coupons can be used with shops
 +
# Moves Shop Stock options into a modal for a more compact Shop Stock editing experience
 +
# Adds a "Stock Type" option to stock (useful alongside other extensions or further customization)
 +
# Adds ability to limit an item to FTO purchase only
 +
# Adds ability to limit the amount of stock an item has and to automatically restock the item on a Daily, Weekly, or Monthly schedule
 +
# '''** New ** :''' Adds the ability for items with a purchase limit, to have that limit only apply on a daily, weekly, monthly, yearly, or lifetime (default) basis.
 +
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Pull and run  
Pull and run <code>php artisan migrate</code> <code>php artisan add-site-settings</code>
+
# <code>php artisan migrate</code>
 +
# <code>php artisan add-site-settings</code>
 +
# <code>php artisan optimize</code>
 +
 
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
 
 
To make coupons, make your item then edit it. Scroll down to the add tag area, and select 'Coupon'.
 
To make coupons, make your item then edit it. Scroll down to the add tag area, and select 'Coupon'.
  
 
To add shop entry requirements, make your shop, edit, and scroll to 'add requirements'.
 
To add shop entry requirements, make your shop, edit, and scroll to 'add requirements'.
  
To allow coupons, when creating/editting your shop enable the coupon toggle.
+
To allow coupons, when creating/editing your shop enable the coupon toggle.
== Usage ==
+
 
<!-- Is there anything users should know about using your extension? -->
+
== Screenshot ==
 +
<gallery heights="200" widths="200">
 +
File:Screen Shot 2022-07-12 at 6.33.33 PM.png
 +
File:Screen Shot 2022-07-12 at 6.36.31 PM.png
 +
</gallery>
 +
 
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
 
Please contact me @ Newt#7776 on discord if there are any issues
 
Please contact me @ Newt#7776 on discord if there are any issues
== See Also ==
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 

Revision as of 14:41, 12 July 2022

Shop Features
Description Makes shops a little more useful!
Author(s) Ne-wt
Status Testing
Github shop-features
LK Version Unspecified
Contains a Migration






Features Included

Shop Features adds a number of useful additions to shops:

  1. Makes it possible to create "Staff" or "FTO" only shops
  2. Makes it possible to limit shop access to only users with a particular item
  3. Adds a "Coupon" tag for items so that coupons can be used with shops
  4. Moves Shop Stock options into a modal for a more compact Shop Stock editing experience
  5. Adds a "Stock Type" option to stock (useful alongside other extensions or further customization)
  6. Adds ability to limit an item to FTO purchase only
  7. Adds ability to limit the amount of stock an item has and to automatically restock the item on a Daily, Weekly, or Monthly schedule
  8. ** New ** : Adds the ability for items with a purchase limit, to have that limit only apply on a daily, weekly, monthly, yearly, or lifetime (default) basis.

Installation

Pull and run

  1. php artisan migrate
  2. php artisan add-site-settings
  3. php artisan optimize

Configuration

To make coupons, make your item then edit it. Scroll down to the add tag area, and select 'Coupon'.

To add shop entry requirements, make your shop, edit, and scroll to 'add requirements'.

To allow coupons, when creating/editing your shop enable the coupon toggle.

Screenshot

Troubleshooting

Please contact me @ Newt#7776 on discord if there are any issues