This extension adds new user role - Customer Assistant. Each customer has automatically (after creating account) assigned an assistant.
Customer is able to contact with their private assistant anytime from special widget.
If you want to see how it works, visit our demo shop.
You can login using those credentials
Add spree_customer_care to your Gemfile:
gem 'spree_customer_care', git: 'https://github.com/netguru/spree_customer_care/', branch: '2-1-stable'
Bundle your dependencies and run the installation generator:
bundle bundle exec rails g spree_customer_care:install
If you are adding this extension to existing application you may want to assign assistants to existing users
To do so you can use this rake task:
This extension is using gravatar.com to display assistants photo/avatar by default.
Custom avatars are also supported :)
Just take a look at the code below, if you want to do so.
# returns avatar url
Currently supported Spree version: 2.1.X
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
bundle bundle exec rake test_app bundle exec rspec spec
When testing your applications integration with this extension you may use it's factories.
Simply add this require statement to your spec_helper:
Read more about the project at Our First Open Source Extension for Spree.
Copyright (c) 2014 Netguru, released under the New BSD License