Combine etsy reviews with products to import to shopify
✓ Published0🌍 Public
WWilliamNHarvey
Last edited May 29, 2021
Created on May 29, 2021
This example shows a Ruby script that combines Etsy order-item data and customer reviews into a Shopify-compatible product review import file. It matches reviews to purchased products using the `order_id`, filters out duplicate entries, and formats each review with the product handle, star rating, author, and date into a JSON output. The script uses the `json` and `date` standard libraries, reading from `EtsySoldOrderItems2021.json` and `reviews.json`, and writes the final result to `reviews_output.json` for manual CSV conversion and import.
AI-generated description