WP Manifestindependent plugin directory
manifest / ecommerce / akakce-xml-feed

Akakçe XML Feed for WooCommerce

WordPress plugin for generating Akakçe.com XML feeds from WooCommerce products

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/erayusta/akakce-xml-feed/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A 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

  1. Download the plugin
  2. Upload to /wp-content/plugins/ directory
  3. Activate through WordPress admin
  4. Configure settings at WooCommerce → Akakçe XML Feed
  5. 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 generation
  • akakce_before_product_xml - Before processing each product
  • akakce_after_product_xml - After processing each product

Filters

  • akakce_xml_product_data - Modify product data before XML
  • akakce_xml_shipping_price - Custom shipping calculation
  • akakce_xml_category_path - Modify category hierarchy

Testing

Run the built-in tests (requires WP_DEBUG = true):

  1. Go to Tools → Akakçe XML Tests
  2. Click "Run Tests"
  3. Review results for any issues

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. 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