Ryan, where do we put this code. I am in need of overriding link_to_cartmethod to make a customized cart segment. I am coming form PHP and if this is a Rails question, I am sorry but highly appreciate a comment.
–
Ziyan JunaideenMay 9 '13 at 17:31

2

Create a folder under app/helpers, called spree, and put the code from Ryan Bigg into a file caalled base_helper.rb
–
Joao PereiraOct 5 '13 at 16:49

7

@JoaoPereira if you call base_helper.rb, spree won't load the original base_helper.rb. Your would have to copy/paste every function, for it to function properly. But if you call base_helper_decorator.rb, it works.
–
alexandrecostaJun 4 '14 at 15:00