Spree Skroutz

This is a Skroutz extension for Spree Commerce, an open‑source e-commerce platform built with Ruby on Rails. It adds the ability to provide products listings to Skroutz Martketplace.

Gem Version

Installation

  1. Add this extension to your Gemfile with this line:

    bundle add spree_skroutz
    
  2. Restart your server

Usage

To use your Skroutz endpoint as a data source in Skroutz Merchants:

  1. Deploy your endpoint Ensure your authentication and data endpoints are publicly accessible and return the required data format (e.g., XML, CSV, or JSON). For this extension, your endpoint will typically be: https://yoursite.com/skroutz/products.xml

  2. Copy your endpoint URL This is the URL that Skroutz Merchants will fetch data from.

  3. Add as a data feed in Skroutz Merchants

    • Go to Skroutz Merchants.
    • In the header, click Settings & tools.
    • Select Data sources.
    • Click Add product source.
    • Enter your endpoint URL (e.g., https://yoursite.com/skroutz/products.xml) as the feed source.
    • Set fetch frequency and credentials if authentication is required.

Developing

  1. Create a dummy app

    bundle update
    bundle exec rake test_app
    
  2. Add your new code

  3. Run tests

    bundle exec rspec
    

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_skroutz/factories'

Releasing a new version

bundle exec gem bump -p -t
bundle exec gem release

For more options please see gem-release README

Contributing

If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.

Copyright (c) 2026 OlympusOne, released under the MIT License.