~/talk

Spree Adjustments

Talkat Ruby on Ales 2014 · 2014-03-06..03-07· [ruby-on-rails]
slides:none on file

Spree 2.2 refactors adjustments so taxes, shipping and promotions all use consistent per-item math: tax and refund amounts become apply per-line tax adjustments and refunds use negative line-item adjustments, shipments store cost as an attribute instead of an adjustment, and a new included flag marks price‑inclusive taxes. Originator is removed, ActiveSupport notifications are dropped in favor of promotion handlers, and test coverage (~1500 examples) supports the change. The result is a simpler, consistent system that lets free shipping and percentage discounts combine and makes refunds and taxation easier to calculate.

AI-written summary · about

  1. 0:00Australian context
  2. 1:17Spree adjustment refactoring
  3. 4:50Ground rules for development
  4. 6:28Complexity of sales tax
  5. 10:44Old vs new adjustment system
  6. 14:22Handling taxes and shipments
  7. 16:59Promotion management
  8. 20:58Summary and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.