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.
Installation
-
Add this extension to your Gemfile with this line:
bundle add spree_skroutz
-
Restart your server
Usage
To use your Skroutz endpoint as a data source in Skroutz Merchants:
-
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 -
Copy your endpoint URL This is the URL that Skroutz Merchants will fetch data from.
-
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
-
Create a dummy app
bundle update bundle exec rake test_app -
Add your new code
-
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 releaseFor 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) 2025 OlympusOne, released under the AGPL-3.0 or later.