Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/workarea-commerce/workarea-yotpo
https://github.com/workarea-commerce/workarea-yotpo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/workarea-commerce/workarea-yotpo
- Owner: workarea-commerce
- License: other
- Created: 2019-11-11T21:02:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-14T14:17:22.000Z (over 4 years ago)
- Last Synced: 2024-03-15T04:47:44.636Z (9 months ago)
- Language: Ruby
- Size: 41 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Workarea Yotpo
================================================================================Yotpo plugin for the Workarea platform.
The following features are supported:
* Yotpo JS SDK included on every page
* Order tracking JS on confirmation page
* Order export via the API
* Review display on PDP and product summaries.Configuration
--------------------------------------------------------------------------------An app key must be set in configuration to enable reviews.
Add the following to an initializer:
config.yotpo.app_key = nil
A secret must be provided in the secrets to send orders via the API.
Add the following to secrets:
yotpo:
secret_key: YOUR-SECRET-KEYAdditional configuration options are available for displaying reviews:
# show review summary on PDP
config.yotpo.show_review_summary_on_pdp = true ## show review summaries on product summaries in search,
# browse, and recommendations
config.yotpo.show_review_summary_on_product_summary = trueconfig.curalate.site_name = 'YOUR_SITE_NAME'
Getting Started
--------------------------------------------------------------------------------This gem contains a rails engine that must be mounted onto a host Rails application.
To access Workarea gems and source code, you must be an employee or a licensed retailer or partner.
Workarea gems are hosted privately at https://gems.weblinc.com/.
You must have individual or team credentials to install gems from this server. Add your gems server credentials to Bundler:bundle config gems.weblinc.com my_username:my_password
Or set the appropriate environment variable in a shell startup file:
export BUNDLE_GEMS__WEBLINC__COM='my_username:my_password'
Then add the gem to your application's Gemfile specifying the source:
# ...
gem 'workarea-yotpo', source: 'https://gems.weblinc.com'
# ...Or use a source block:
# ...
source 'https://gems.weblinc.com' do
gem 'workarea-yotpo'
end
# ...Update your application's bundle.
cd path/to/application
bundleWorkarea Platform Documentation
--------------------------------------------------------------------------------See [http://developer.workarea.com](http://developer.workarea.com) for Workarea platform documentation.
Copyright & Licensing
--------------------------------------------------------------------------------Copyright Workarea 2019. All rights reserved.
For licensing, contact [email protected].