gp247 / shop
Process shopping cart for gp247 Ecommerce with Laravel
Requires
- gp247/core: ~2.0
- gp247/front: ~2.0
This package is auto-updated.
Last update: 2026-07-12 02:52:15 UTC
README
Free e-commerce platform for businesses
composer require GP247/Shop
Introduction
GP247/Shop is a core package in the GP247 ecosystem that turns your GP247 site into a full-featured online store. It provides comprehensive e-commerce functionality and inherits all GP247 ecosystem features.
Key Features
E-commerce Features
- Product Management
- Product categories and attributes
- Product variants and options
- Inventory management
- Bulk import/export
- Order Management
- Order processing and tracking
- Multiple payment gateways
- Shipping methods integration
- Order status management
- Customer Management
- Customer profiles and accounts
- Address management
- Order history
- Customer groups and discounts
- Marketing Tools
- Promotions and discounts
- Coupon management
- Newsletter integration
- Product reviews and ratings
- Shopping Features
- Shopping cart
- Wishlist
- Product comparison
- Recently viewed products
- Multi-vendor Support
- Vendor dashboard
- Commission management
- Vendor product management
- Vendor order tracking
GP247 Ecosystem Features
- Page content management
- Flexible template system
- Extensible plugin system
- Navigation and link management
- Integrated contact and subscription forms
- Multi-language support
- SEO optimization
- Responsive design
- Security features
- Backup and restore
Installation
Option 1: New installation with GP247 CMS
- Install gp247/cms (includes Laravel, GP247/Core, GP247/Front)
composer create-project gp247/cms
- Install gp247/shop package
composer require gp247/shop
- Register the service provider in
bootstrap/providers.php(add at the end of the array)
return [ // ... existing providers GP247\Shop\ShopServiceProvider::class, ];
- Install and create sample data
php artisan gp247:shop-install
php artisan gp247:shop-sample
Option 2: Use S-Cart source code
S-Cart already includes all the necessary components. See the full details at the GitHub repository.
- Create the project
composer create-project gp247/s-cart
- Install sample data
php artisan sc:install
php artisan sc:sample
Customization
Customize Admin Views
To customize admin views, run:
php artisan vendor:publish --tag=gp247:shop-view-admin
The views will be published to resources/views/vendor/gp247-shop-admin.
Customize Front Views
To customize and update front views, run:
php artisan vendor:publish --tag=gp247:shop-view-front
The views will be stored in app/GP247/Templates/GP247Front.
If you are not using the GP247Front template, manually copy the views from vendor/gp247/shop/src/Views/front to your template directory.
Overriding controllers
Step 1: Copy the controller files you want to override from
vendor/gp247/shop/src/Controllers(orsrc/Api/Controllers) toapp/GP247/Shop/Controllers(orapp/GP247/Shop/Api/Controllers)
Step 2: Change the namespace from
GP247\Shop\Controllers(orGP247\Shop\Api\Controllers) toApp\GP247\Shop\Controllers(orApp\GP247\Shop\Api\Controllers) — just prependApp, keep the rest as-is.
Documentation
- GP247 documentation: https://gp247.net/en/docs
License
The GP247/Shop is open-sourced software licensed under the MIT license.