-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add price_for_options and deprecate price_for
The price_for method does not return a Spree::Price as described. Instead it does some frontend work and returns a Spree::Money, limiting the usability of this method, as the price record itself can have useful information on it. This deprecates the existing method in favor of one that returns a Spree::Price.
- Loading branch information
Mike Conlin
committed
Mar 25, 2021
1 parent
39a9d7d
commit 260ef49
Showing
2 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters