diff --git a/guides/source/developers/events/overview.html.md b/guides/source/developers/events/overview.html.md index f9d301099ec..3f83d36bc17 100644 --- a/guides/source/developers/events/overview.html.md +++ b/guides/source/developers/events/overview.html.md @@ -20,7 +20,7 @@ Currently, the events fired by default in Solidus are: Events make extending Solidus with custom behavior easy. For example, if besides the standard email you also want to send a SMS text message to -the customer when a order is finalized, this pseudo-code may do the trick: +the customer when an order is completed, this pseudo-code may do the trick: ```ruby Spree::Event.subscribe 'order_finalized' do |event| @@ -31,7 +31,7 @@ end ## Changing the adapter -The adapter can be changed using this code, for example in a initializer: +The adapter can be changed using this code, for example in an initializer: ```ruby Spree::Config.events.adapter = "Spree::EventBus.new" @@ -39,7 +39,7 @@ Spree::Config.events.adapter = "Spree::EventBus.new" ## Subscribing to events -`Spree::Event.subscribe` allows to subscribe to a certain event. The event +`Spree::Event.subscribe` allows you to subscribe to a certain event. The event name is mandatory, the optional block will be executed every time the event is fired: diff --git a/guides/source/developers/preferences/add-model-preferences.html.md b/guides/source/developers/preferences/add-model-preferences.html.md index 371c249d08c..b538356ada0 100644 --- a/guides/source/developers/preferences/add-model-preferences.html.md +++ b/guides/source/developers/preferences/add-model-preferences.html.md @@ -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: @@ -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: diff --git a/guides/source/developers/preferences/class-extension-points.html.md b/guides/source/developers/preferences/class-extension-points.html.md index 89b82d8a2a1..ed0c7ae301a 100644 --- a/guides/source/developers/preferences/class-extension-points.html.md +++ b/guides/source/developers/preferences/class-extension-points.html.md @@ -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 diff --git a/guides/source/developers/returns/return-items.html.md b/guides/source/developers/returns/return-items.html.md index 80a730a7f4b..60cd3fd39ad 100644 --- a/guides/source/developers/returns/return-items.html.md +++ b/guides/source/developers/returns/return-items.html.md @@ -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. diff --git a/guides/source/users/settings/stores.html.md b/guides/source/users/settings/stores.html.md index fd7df3a84e1..f2f0a238bff 100644 --- a/guides/source/users/settings/stores.html.md +++ b/guides/source/users/settings/stores.html.md @@ -4,7 +4,7 @@ The **Settings > Stores** page allows you to manage some of the global settings across all of your stores. These settings are useful if you manage multiple stores and need distinct settings for some of your stores. -The following settings are available for each for your stores: +The following settings are available for each of your stores: - **Site Name**: The customer-facing name of the current store. - **Code**: An identifier for your store. Developers may need it if you operate @@ -12,7 +12,7 @@ The following settings are available for each for your stores: your store's developers. - **SEO Title**: The content for the homepage's HTML `