prycing / woocommerce-plugin
A WordPress plugin that automatically updates WooCommerce product prices from an XML feed
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.2
- composer/installers: ^1.0 || ^2.0
Requires (Dev)
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: ^3.0
- wp-coding-standards/wpcs: ^2.0
This package is auto-updated.
Last update: 2025-05-31 00:35:35 UTC
README
A WordPress plugin that automatically updates WooCommerce product prices from the Prycing platform with support for High-Performance Order Storage (HPOS).
Description
Prycing allows you to easily synchronize your WooCommerce product prices with the Prycing software platform. The plugin fetches data from your Prycing account and updates your product prices automatically, either on a schedule or manually when needed.
Features
- Price Synchronization: Import product prices from Prycing platform
- Regular & Sale Prices: Support for both regular prices and sale prices
- Sale Date Ranges: Set sale start and end dates automatically
- Flexible Scheduling: Update prices from every minute to weekly
- Product Matching: Match products using EAN/barcode or SKU
- WooCommerce HPOS Compatible: Works with High-Performance Order Storage
- Performance Optimized: Uses WP_Query instead of direct database queries
- Detailed Logging: Track all updates and errors in WooCommerce logs
- Simple UI: Clean and intuitive admin interface
Installation
From GitHub:
- Download the latest release
- Upload the entire
prycing
directory to/wp-content/plugins/
- Activate through the 'Plugins' menu in WordPress
Using Composer:
composer require prycing/woocommerce-plugin
Configuration
- Go to WooCommerce → Prycing in your WordPress admin
- Enter the URL of your Prycing feed
- Choose your preferred update frequency
- Save settings
Product Matching Logic
The plugin matches products in the following order:
- First checks if the EAN is stored as a product SKU
- Then checks various meta fields commonly used for storing EANs/barcodes:
_ean
_barcode
ean
barcode
Update Frequencies
Choose from the following update frequencies:
- Every 30 Seconds: For near real-time pricing (use with caution - high server load)
- Every Minute: For very frequent price updates
- Every 5 Minutes: Good balance for regular updates
- Every 10 Minutes: Moderate update frequency
- Every 30 Minutes: Regular updates with minimal server impact
- Hourly: Updates once per hour
- Twice Daily: Updates twice per day
- Daily: Updates once per day (default)
- Weekly: Updates once per week
Note: Using very frequent updates (30 seconds, 1 minute, or 5 minutes) can significantly impact server performance and is recommended only for development environments or small product catalogs. For production sites with many products, consider using longer intervals.
WooCommerce Compatibility
This plugin is fully compatible with:
- WooCommerce 3.0+
- High-Performance Order Storage (HPOS)
- Custom Order Tables
- All standard WooCommerce product types
Development
Requirements
- PHP 7.2+
- WordPress 5.0+
- WooCommerce 3.0+
- Composer (for development)
- Prycing platform account
Setup Development Environment
# Clone the repository git clone https://github.com/prycing/woocommerce-plugin.git cd woocommerce # Install dependencies composer install
Code Standards
The codebase follows WordPress coding standards. You can check compliance using:
composer lint
Fix coding standards issues automatically:
composer fix
Support
For bugs and feature requests, please use the issues section.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.
Credits
Developed by Prycing.