Skip to content

Commit

Permalink
Guides typo corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
cesartalves committed Jun 25, 2021
1 parent 8053d89 commit 42eeac0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ the preferences attribute gets serialized into a Hash and merged with the defaul
kind of object would a store want multiple custom preferences on?
-->

## Supported type for preferences
## Supported types for preferences

For each preference you define, a data type should be provided. The available
types are:
Expand Down Expand Up @@ -98,7 +98,7 @@ class AddPreferencesToSubscriptionRules < ActiveRecord::Migration[5.0]
end
```

Your new `preferences` column should be the type `text`.
Your new `preferences` column should have the type `text`.

Then, you can run the migration:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Spree.config do |config|
end
```

Now, when search is built it uses your extended `MyStore::ProductSearch`
Now, when the search is built it uses your extended `MyStore::ProductSearch`
functionality instead of the default functionality.

[search-base]: https://github.com/solidusio/solidus/blob/v2.4/core/lib/spree/core/search/base.rb
Expand Down
2 changes: 1 addition & 1 deletion guides/source/developers/returns/return-items.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ A `Spree::ReturnItem` has the following attributes:
- `exchange_inventory_unit_id`: If the `Spree::ReimbursementType` is an
exchange, this attribute's value is the ID of the `Spree::InventoryUnit` that
that is going to be exchanged.
- `acceptance_status_errors`: A hash that lists reasons why the return item does
- `acceptance_status_errors`: A hash that lists reasons why the return item
is not acceptable.
- `preferred_reimbursement_type_id`: The ID for the reimbursement type that was
originally set for the return item.
Expand Down

0 comments on commit 42eeac0

Please sign in to comment.