Skip to content

Commit

Permalink
Merge pull request #3121 from JuanCrg90/docs/add-promotions-adjustmen…
Browse files Browse the repository at this point in the history
…ts-link

Minor updates in promotions overview documentation
  • Loading branch information
jacobherrington committed Feb 25, 2019
2 parents d838a56 + 763b3dc commit 7665973
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions guides/source/developers/promotions/overview.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,10 @@ Every time that the promotion adjustment needs to be recalculated, the
`Spree::PromotionRule`s are re-checked to ensure the promotion is still
eligible.

Note that shipments and taxes can also create adjustments. See the adjustments
Note that shipments and taxes can also create adjustments. See the [adjustments][adjustments]
documentation for more information.

<!-- TODO:
Once merged, link to documentation about adjustments.
-->
[adjustments]: ../adjustments/overview.html

## Eligibility

Expand All @@ -140,7 +138,7 @@ See the `eligible?` method defined in the [Spree::Promotion
model][spree-promotion]:

```ruby
# models/spree/promotion.rb : line 123
# models/spree/promotion.rb
def eligible?(promotable, promotion_code: nil)
return false if inactive?
return false if usage_limit_exceeded?
Expand Down

0 comments on commit 7665973

Please sign in to comment.