Skip to content

webfactorybulgaria/shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop

Setup: composer require webfactorybulgaria/shop

Add this to the config/app.php

TypiCMS\Modules\Shop\Shells\Providers\ModuleProvider::class,

Run php artisan vendor:publish --tag=shopconfig php artisan vendor:publish php artisan migrate

Attributes

Add this to resources/assets/typicms/app.js:

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

Users

In config/auth.php

  • change the user model to TypiCMS\Modules\Shop\Shells\Models\User::class
  • you can set skip_activation to true

Frontend

Create and link a page to the products module Create and link a page to the shop module

Basket

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

About

No description, website, or topics provided.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENCE
MIT
LICENSE

Stars

Watchers

Forks

Packages

No packages published