Sha256: a7995fcd829e0ea6020326e7de6307703ce962eefacdaeba3aee7e03a8b6cf3c
Contents?: true
Size: 635 Bytes
Versions: 6
Compression:
Stored size: 635 Bytes
Contents
Spree::Admin::GeneralSettingsController.class_eval do before_action :set_loyalty_points_settings, only: [:edit] private def set_loyalty_points_settings @preferences_loyalty_points = { :min_amount_required_to_get_loyalty_points => [""], :loyalty_points_awarding_unit => ["For example: Set this as 10 if we wish to award 10 points for $1 spent on the site."], :loyalty_points_redeeming_balance => [""], :loyalty_points_conversion_rate => ["For example: Set this value to 5 if we wish 1 loyalty point is equivalent to $5"], :loyalty_points_award_period => [""] } end end
Version data entries
6 entries across 6 versions & 1 rubygems