2017 © Pedro Peláez
 

library shop

Shop module

image

webfactorybulgaria/shop

Shop module

  • Wednesday, May 17, 2017
  • by webfactorybulgaria
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 24 Versions
  • 0 % Grown

The README.md

Shop

Setup: composer require webfactorybulgaria/shop, (*1)

Add this to the config/app.php, (*2)

TypiCMS\Modules\Shop\Shells\Providers\ModuleProvider::class,, (*3)

Run php artisan vendor:publish --tag=shopconfig php artisan vendor:publish php artisan migrate, (*4)

Attributes

Add this to resources/assets/typicms/app.js:, (*5)

if (moduleName === 'attribute-groups' && action === 'edit') {
    moduleName = 'attributes';
}

Combinations

add "js-combinatorics": "0.5.2" to package.json Run npm install add 'node_modules/js-combinatorics/combinatorics.js', to js-admin in gulpfile.js Run gulp js-admin, (*6)

Users

In config/auth.php * change the user model to TypiCMS\Modules\Shop\Shells\Models\User::class * you can set skip_activation to true, (*7)

Frontend

Create and link a page to the products module Create and link a page to the shop module, (*8)

Basket

Add the following code to your template to include the basket: @section('shop-basket') Basket @show, (*9)

The Versions

06/02 2017

v4.1.0

4.1.0.0

Shop module

  Sources   Download

MIT

The Requires

 

by Atanas Georgiev