Download the PHP package laraplug/shop without Composer
On this page you can find all versions of the php package laraplug/shop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laraplug/shop
More information about laraplug/shop
Files in laraplug/shop
Informations about the package shop
This module is currently under active development.
Need help! English Translation is incomplete. Any PR would be appreciated :)
Laraplug Shop
Laraplug Shop is a flexible, extendable e-commerce module, built on top of AsgardCMS platform.
Integrated with the modules below
laraplug/product-module
laraplug/attribute-module
laraplug/cart-module
laraplug/order-module
laraplug/theme-module (Deprecated)
Table Of Contents
- Installation
- Usage
- Extend Product Model
- Add EAV to Produt model
- Register Your Product
- About Laraplug
- Contributing
Installation
-
Install the package via composer:
-
Execute migrations via AsgardCMS's module command:
-
Execute publish via AsgardCMS's module command:
- Done!
Usage
Extend Product Model
To create your own Book
Product Eloquent model on BookStore
module, just extend the \Modules\Product\Entities\Product
model like this:
Add EAV to Product model
Add $systemAttributes
to utilize laraplug/attribute-module on code-level like this:
Available SystemAttributes Parameters
type : String of input type (list below)
input
: input[type=text]textarea
: teaxarearadio
: input[type=radio]checkbox
: input[type=checkbox]select
: selectmultiselect
: select[multiple]
options : Array of option keys
has_translatable_values : boolean
Register Your Product
You can register your Entity using ProductManager
like this:
About Laraplug
LaraPlug is a opensource project to build e-commerce solution on top of AsgardCMS.
Contributing
We welcome any pull-requests or issues :)
All versions of shop with dependencies
composer/installers Version ~1.0
idavoll/core-module Version ~3.0
laraplug/product-module Version 0.*
laraplug/attribute-module Version 0.*
laraplug/order-module Version 0.*
laraplug/cart-module Version 0.*
laraplug/theme-module Version 0.*
barryvdh/laravel-cors Version ^0.11.0