Akakçe XML Feed for WooCommerce
WordPress plugin for generating Akakçe.com XML feeds from WooCommerce products
by Eray Usta · github.com/erayusta/akakce-xml-feed · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/erayusta/akakce-xml-feed/archive/refs/heads/master.zipA WordPress plugin that automatically generates XML feeds for Akakçe.com, Turkey's leading price comparison website.
🚀 Features
- Automatic XML Generation: Creates Akakçe-compatible XML feeds from WooCommerce products
- HPOS Compatible: Supports WooCommerce's High-Performance Order Storage
- Variable Products: Handles WooCommerce variations correctly
- Auto Updates: Configurable automatic feed updates (hourly, daily, 2x/4x/8x daily)
- Brand Support: Compatible with popular brand plugins
- Multilingual: Turkish and English translations included
- Performance Optimized: Caching system for large catalogs
- Security First: Follows WordPress security best practices
📋 Requirements
- WordPress 5.0+
- WooCommerce 3.0+
- PHP 7.4+
- MySQL 5.6+
🔧 Installation
- Download the plugin
- Upload to
/wp-content/plugins/directory - Activate through WordPress admin
- Configure settings at WooCommerce → Akakçe XML Feed
- Your XML feed will be available at:
https://yoursite.com/akakce-feed.xml
⚙️ Configuration
Basic Settings
- Shipping Price: Default shipping cost
- Free Shipping Threshold: Minimum order for free shipping
- Delivery Days: Processing time before shipping
- Auto Updates: Enable/disable automatic feed updates
- Update Interval: How often to refresh the feed
Advanced Options
- Category Exclusions: Hide specific product categories
- Stock Filter: Include only in-stock products
- Brand Mapping: Configure brand information
- Regional Delivery: Set city-specific delivery options
📊 XML Feed Format
The plugin generates XML in Akakçe's official format:
<products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<product>
<sku>PRODUCT-123</sku>
<name>Product Name</name>
<url>https://example.com/product</url>
<imgUrl>https://example.com/image.jpg</imgUrl>
<price>29.90</price>
<shipPrice>9.90</shipPrice>
<productCategory>Electronics > Phones</productCategory>
<!-- ... more fields -->
</product>
</products>
🔒 Security Features
- Nonce verification for all forms
- Input sanitization and validation
- Capability checks for admin functions
- SQL injection protection
- XSS prevention
🌐 Supported Brand Plugins
- Product Brands for WooCommerce
- YITH WooCommerce Brands
- Perfect Brands for WooCommerce
- WooCommerce Brands
- Custom brand meta fields
📝 Development
File Structure
akakce-xml-feed/
├── akakce-xml-feed.php # Main plugin file
├── includes/
│ ├── class-akakce-xml-feed.php # Core functionality
│ └── admin-page.php # Admin interface
├── assets/
│ └── admin.css # Admin styling
├── languages/ # Translation files
├── tests/ # Testing framework
└── readme.txt # WordPress.org readme
Hooks and Filters
Actions
akakce_generate_xml- Triggered during XML generationakakce_before_product_xml- Before processing each productakakce_after_product_xml- After processing each product
Filters
akakce_xml_product_data- Modify product data before XMLakakce_xml_shipping_price- Custom shipping calculationakakce_xml_category_path- Modify category hierarchy
Testing
Run the built-in tests (requires WP_DEBUG = true):
- Go to Tools → Akakçe XML Tests
- Click "Run Tests"
- Review results for any issues
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
📄 License
GPL v2 or later - see LICENSE file for details.
🆘 Support
📈 Changelog
See CHANGELOG.md for version history.
Made with ❤️ for the Turkish e-commerce community