Download the PHP package syscover/market without Composer
On this page you can find all versions of the php package syscover/market. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package market
Market for Laravel 5.3
Installation
1 - After install Laravel framework, insert on file composer.json, inside require object this value
and execute on console:
2 - Register service provider, on file config/app.php add to providers array
3 - Execute publish command
4 - Execute optimize command load new classes
5 - And execute migrations and seed database
6 - Execute command to load all updates
7 - Register middleware pulsar.taxRule on file app/Http/Kernel.php add to routeMiddleware array
Activate Package
Access to Pulsar Panel, and go to:
Administration-> Permissions-> Profiles, and set all permissions to your profile by clicking on the open lock.
Go to Administration -> Packages, edit the package installed and activate it.
General configuration environment values
We indicate configuration variables available, to change them what you should do from the file environment variables .env
Order id prefix [default value empty]
You can set a prefix for all your orders, for example, if you can set on all you orders the prefix ORDER, set this value on you .env file
Tax default country [default value ES]
To set default country to calculate tax, you can use this parameter, for example to change to US, set this value on you .env file
Default customer class tax [default value 1]
Set default ID customer class value for calculate tax amount of products
Set product price tax [default value 1]
Defines the types of prices that are introduced in products, this option is consulted when you create or update a product You have this values:
- Value: 1 Excluding tax
- Value: 2 Including tax
Set shipping price tax [default value 1]
Defines the types of prices that are introduced in shipping prices, this option is consulted when you create or update a shipping price
- Value: 1 Excluding tax
- Value: 2 Including tax
Set product display price tax [default value 1]
Defines how you want display product prices You have this values:
- Value: 1 Excluding tax
- Value: 2 Including tax
Set shipping display price tax [default value 1]
Defines how you want display shipping prices
- Value: 1 Excluding tax
- Value: 2 Including tax
PayPal environment values
Set PayPal mode
- Value: sandbox for testing or development environments
- Value: live for production environments
PayPal sandbox values
PayPal live values
Redsys environment values
Set Redsys mode
- Value: test for testing or development environments
- Value: live for production environments
Redsys test values
Redsys live values
Other concepts
Set tax rules values for each customer
When a customer is login on your web application, you need know your country and customer group to calculate tax rules for all products. You have a Middleware who is responsible to do this actions.
This middleware set market.taxCountry and market.taxCustomerClass if customer has country and customer group id defined
All versions of market with dependencies
syscover/pulsar Version ~2.0
syscover/crm Version ~2.0
syscover/shopping-cart Version ~2.0
sermepa/sermepa Version ^1.1
paypal/rest-api-sdk-php Version *