solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::OrderTaxation#apply

Apply taxes to the order.

This method will create or update adjustments on all line items and
shipments in the order to reflect the appropriate taxes passed in. It
will also remove any now inapplicable tax adjustments.

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open core/app/models/spree/order_taxation.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--OrderTaxation-apply-for-pr


# Commit to git

git add core/app/models/spree/order_taxation.rbgit commit -m "better docs for Spree::OrderTaxation#apply"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Spree--OrderTaxation-apply-for-pr

hub pull-request


# Celebrate!