/spree_claim_order

Claim guest orders associated with an email address

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SpreeClaimOrder

Associates guest orders with real user accounts, if the guest order has the same email address as the user's account. If a user has 'unclaimed' orders, they will be given the opportunity to confirm their email address with a tokenized url. Once email address is confirmed, all unclaimed orders are re-associated to the user's account.

By Default, email confirmation is required before orders can be re-associated. Although not recommended, this requirement may be turned off by setting the the require_email_confirmation preference to false as follows:

Spree::ClaimOrder::Config.set :require_email_confirmation => false # restart app after changing this preference

Copyright (c) 2010 Zac Williams, released under the New BSD License