fanamurov/larrock-discount

Discounts in catalog component for larrockCMS

v1.2.1 2018-04-07 13:06 UTC

README

Depends

  • fanamurov/larrock-core
  • fanamurov/larrock-catalog
  • fanamurov/larrock-category

INSTALL

  1. Install larrock-core, larrock-catalog, larrock-category
  2. Install larrock-discount
composer require fanamurov/larrock-discount
  1. Add the ServiceProvider to the providers array in app/config/app.php
//LARROCK COMPONENT DISCOUNT DEPENDS
\Larrock\ComponentDiscount\LarrockComponentDiscountServiceProvider::class
  1. Publish views, migrations etc.
$ php artisan vendor:publish

Or

$ php artisan vendor:publish --provider="Larrock\ComponentDiscount\LarrockComponentDiscountServiceProvider"
  1. Run artisan command:
$ php artisan larrock:check

And follow the tips for setting third-party dependencies

  1. Run migrations
$ php artisan migrate

##START http://yousite/admin/reviews