imagina / icommerce-module
Completely customizable eCommerce platform for entrepreneurs worldwide
Installs: 1 788
Dependents: 19
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 12
Open Issues: 2
Type:asgard-module
Requires
- php: >=7.0.0
- composer/installers: ~1.0
- idavoll/core-module: ~3.0
- imagina/icurrency-module: ~1.0
- imagina/ihelpers-module: ~3.0
- imagina/notification-module: ~3.1
- willvincent/laravel-rateable: ~1.0
Requires (Dev)
- orchestra/testbench: 3.5.*
- phpunit/phpunit: ~6.0
- v10.x-dev
- v8.x-dev
- dev-master / 4.0.x-dev
- 2.0.0
- 1.2.1
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.x-dev
- 0.1.28
- 0.1.27
- 0.1.26
- 0.1.25
- 0.1.24
- 0.1.23
- 0.1.22
- 0.1.21
- 0.1.20
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-dev-recurrence
- dev-dev-tenant
- dev-dev-8.x
- dev-dev-4.0
- dev-dev-sabaz
- dev-dev
This package is auto-updated.
Last update: 2024-11-21 21:33:03 UTC
README
Icommerce is an e-commerce module for Asgard CMS open source fully customizable for entrepreneurs around the world. Go beyond the limits of traditional e-commerce solutions and be limited only by your own imagination.
Email Configurations Backend
1. Go to Settings
2. Click on Icommerce
3. Add "Webmaster Email"
Email Configurations Frontend (Theme)
You can modify the header,footer and style
Instructions:
1. Create a folder in your theme with the name "icommerce".
Example: YourTheme/views/icommerce/
2. Create a folder inside of "icommerce" with the name "emails".
Example: YourTheme/views/icommerce/emails
3. If you want just edit the header, so copy only the header file
from the module in your folder in the theme:
(copy this file)
Example: Module/Icommerce/Resources/views/emails/base/header.blade.php
(Paste it here)
Example: YourTheme/views/icommerce/emails/header.blade.php
and so with the files that you want to edit.
Seeder
run php artisan module:seed Icommerce
API
End Points Cart
Get all carts
N: filter optional =
?filter={"ip":192.168.0.1}
?filter={"user":1}
GET: /api/icommerce/v3/carts
Get a cart
N: replace n for id`s cart
GET: /api/icommerce/v3/carts/n
Get all the products of all the cars
N: filter optional = ?filter={"cart":2}
GET: /api/icommerce/v3/cart-products
Add products to cart
POST
/api/icommerce/v3/carts
"cart_id": 9, (optional, if it is not passed a new car is generated and its id is returned)
"user_id": 1, (optional, if it is not passed, the car is generated without associating a user)
"cart_products": {
"product_id":"4",
"quantity":"50",
"price":"5500"
},
"cart_product_option":{
"product_option_id":"1",
"product_option_value_id":"1"
}
}
End Points Order
Create order
POST
/api/icommerce/v3/orders
Success Response
Order created
Get all orders
GET
/api/icommerce/v3/orders
Success Response
All Orders with data
Get an order (n = order_id)
GET
/api/icommerce/v3/orders/n
Success Response
Order with data
Update an order
PUT
/api/icommerce/v3/orders/n
Success Response
Order updated
End Points Tags
Get all Tags
GET
/api/icommerce/v3/tags
Get a Tag
GET
/api/icommerce/v3/tags/n
Create Tag (all data inside "attribute" array)
POST
/api/icommerce/v3/tags
Update Tag
PUT
/api/icommerce/v3/tags/n
Delete Tag
DELETE
/api/icommerce/v3/tags/n
End Points Categories
Get all Categories
GET
/api/icommerce/v3/categories
N: include optional =
?include=parent,children
Get a Category
GET
/api/icommerce/v3/categories/n
Create Category (all data inside "attribute" array)
POST
/api/icommerce/v3/categories
Update Category
PUT
/api/icommerce/v3/categories/n
Delete Category
DELETE
/api/icommerce/v3/categories/n
End Points Currencies
Get all Currencies
GET
/api/icommerce/v3/currencies
Get a Currency
GET
/api/icommerce/v3/currencies/n
Create Currency (all data inside "attribute" array)
POST
/api/icommerce/v3/currencies
Update Currency
PUT
/api/icommerce/v3/currency/n
Delete Currency
DELETE
/api/icommerce/v3/currency/n
End Points Payment Methods
Get all Payment Methods
GET
/api/icommerce/v3/payment-methods
Get a Payment Method
GET
/api/icommerce/v3/payment-methods/n
Create Payment Method
All payment methods have a Seeder to create
Update Payment Method
PUT
/api/icommerce/v3/payment-methods/n
End Points Shipping Methods
Get all Shipping Methods
GET
/api/icommerce/v3/shipping-methods
Get a Shipping Method
GET
/api/icommerce/v3/shipping-methods/n
Get all Calculations from Shipping Methods
Parameters
- Options (array) - countryCode,country,zone,postalCode ... anything else
- Products (array) - cart_id
GET
/api/icommerce/v3/shipping-methods/calculations/all
Create Shipping Method
All shipping methods have a Seeder to create
Update Shipping Method
PUT
/api/icommerce/v3/shipping-methods/n
Coupons
Get discount of the coupon in cart
This route require authentication
Request:
GET
/api/icommerce/v3/coupons/coupons-validate
filter = { "couponCode":"code_coupon", "cartId":1 }
Response:
{ "message": "coupon whit discount for product", "discount": 3000 }