WooCommerce Plugin
#
OverviewThe official WooCommerce plugin for Prycing integration allows you to automatically synchronize your WooCommerce product prices with the Prycing platform. The plugin supports High-Performance Order Storage (HPOS) and provides flexible scheduling options for price updates.
#
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
#
Requirements- PHP 7.2+
- WordPress 5.0+
- WooCommerce 3.0+
- Composer (for development)
- Prycing platform account
#
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 LogicThe 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 FrequenciesChoose 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 CompatibilityThis plugin is fully compatible with:
- WooCommerce 3.0+
- High-Performance Order Storage (HPOS)
- Custom Order Tables
- All standard WooCommerce product types
#
Development#
Setup Development Environment# Clone the repositorygit clone https://github.com/prycing/woocommerce-plugin.gitcd woocommerce
# Install dependenciescomposer install
#
Code StandardsThe codebase follows WordPress coding standards. You can check compliance using:
composer lint
Fix coding standards issues automatically:
composer fix
#
SupportFor bugs and feature requests, please use the GitHub Issues section.
#
ContributingContributions 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
#
LicenseThis project is licensed under the GPL v2 or later - see the LICENSE file for details.