qoliber/m2-professionals-service-listing
最新稳定版本:1.1.3
Composer 安装命令:
composer require qoliber/m2-professionals-service-listing
包简介
README 文档
README
This module provides professional service listing functionality for Magento 2, allowing customers to create and manage their professional profiles, which can be reviewed and approved by administrators.
Features
- ⚠️ ONLY HYVA Compatible! ⚠️
- ⚠️ OpenSearch required ⚠️
- Customer professional profile management
- Social media links integration
- Certificates and services listing
- Admin approval workflow
- Profile status management (Pending, Approved, Rejected)
- Ajax-based admin actions
- Email notifications for status changes
- Automated profile checks via cron (every hour)
- Order status-based feature activation
How It Works
Profile Feature Management
The module uses a sophisticated system to manage profile features based on subscriptions and orders:
-
Order Requirements:
- Features are only activated when the associated order has a COMPLETE status
- Pending or processing orders will not activate profile features
-
Automated Checks:
- A cron job runs every hour to:
- Verify subscription status
- Check feature expiration dates
- Update profile visibility in OpenSearch
- Deactivate expired features automatically
- A cron job runs every hour to:
-
Feature Activation:
- Features are tied to specific products (e.g.,
psl_profile_geolocation) - Each feature is independently managed
- Features are only active with valid subscriptions and complete orders
- Features are tied to specific products (e.g.,
Installation
Via Composer (Recommended)
- Add the repository to your Magento 2
composer.json:
composer require qoliber/m2-professionals-service-listing
- Enable the module:
bin/magento module:enable Qoliber_Psl bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush
Configuration
- Go to Stores > Configuration > Qoliber > Professional Service Listing
- Configure the following sections:
- Social Media Platforms
- Available Certificates
- Services Offered by Agencty / Freelancer
- Email Notifications
- Cron Settings (if needed)
Usage
Customer Side
- Customers can create and manage their professional profiles from their account dashboard
- They can add:
- Company information
- Profile picture/logo
- Social media links
- Certificates
- Services offered
- Description and contact details
- Set Their GEO Coordinates
Admin Side
- Administrators can review profiles from Customer > Professional Service Profiles
- For each profile, admins can:
- View all submitted information
- Approve profiles
- Reject profiles with a reason
- View profile status history
🔍 REST API: Profile Search
The module exposes a search API for frontend or integrations.
Endpoint:
Curl Example
curl -X POST "https://your-magento-site.com/rest/V1/psl/search" \ -H "Content-Type: application/json" \ -d '{ "filters": { "country": "Poland", "city": "poznan", "certificates": [ "Adobe Commerce Front-End Developer Expert", "Adobe Commerce Developer Professional" ], "services": [ "Ecommerce Mobile App Development" ], "latitude": 52.4064, "longitude": 16.9252, "distance": "50km" } }'
Content-Type: application/json
{
"filters": {
"country": "Poland",
"city": "poznan",
"certificates": [
"Adobe Commerce Front-End Developer Expert",
"Adobe Commerce Developer Professional"
],
"services": [
"Ecommerce Mobile App Development"
],
"latitude": 52.4064,
"longitude": 16.9252,
"distance": "50km"
}
}
GEO Search
Fields:
latitudelongitudedistance
needs to be YOUR location
Support
For support and questions, please contact:
- Email: extensions@qoliber.com
- Website: https://qoliber.com
License
This module is licensed under the MIT License - see the LICENSE file for details.
Version
Current version: 1.0.0
Authors
- Jakub Winkler (jwinkler@qoliber.com)
统计信息
- 总下载量: 88
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-21