- Add initializer to
config/application.rb
- Add new class to
app/models/spree/calculators/[class_name].rb
- Add logic to class file
Class must have the following methods:
def self.description
"Custom FlexiRate"
end
config/application.rb
app/models/spree/calculators/[class_name].rb
Class must have the following methods:
def self.description
"Custom FlexiRate"
end
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |