"showprice" spree config preference determines
if product prices are always displayed or only when user is signed in.
see
admin -> Configuration -> General Configuration -> Currency Settings -> Show Price
when checkbox is selected(= true)
product prices are displayed to all users
no matter if signed in or not.
if checkbox is not selected(= false)
product prices are only displayed to users
who are currently signed in.
####### Tested for Versions ####################################
spree 2.3 on rails 4.1.4
####### installation ####################################
standard installation as gem from githunb
put this line at the end of you application's Gemfile:
gem 'spree_price_show', :git => 'git://github.com/ranxero/spree_price_show', :branch => 'master'
then run following command from inside your application folder:
bundle install
by default product prices get displayed for every user.
to only show prices to users who have signend in
log into admin -> configuration -> general configuration curreny settings -> show price
and remove the mark from the checkbox and update the page.
on the frontend product spirces will no be visible anymore to
users who are not signed in.
####### de-installation ####################################
gem cleanup spree_price_show
gem uninstall spree_price_show
then remove Genfile.lock if exists
then remove this line
gem 'spree_price_show', :git => 'git://github.com/ranxero/spree_price_show', :branch => 'master'
from the end of you Gemfile
then run:
bundle install
you might will have to restart the server