Adding note about unauthorized.html.erb
This commit is contained in:
@@ -15,6 +15,7 @@ The idea is simple. You attach a file to a Product (or a Variant of this Product
|
||||
* The file @views/order_mailer/confirm_email.text.erb@ is the only thing that should need customization. But since I assume you do that anyway, it doesn't hurt to do it when you're using spree_digital. The reason is that the download links are added to the confirmation email to the customer. "http://github.com/iloveitaly/spree-html-email":http://github.com/iloveitaly/spree-html-email also supports spree_digital.
|
||||
* A purchased product can be downloaded even if you disable the product immediately. You would have to remove the attached file in your admin section to prevent people from downloading purchased products.
|
||||
* File are uploaded to @rails_root/private@. Make sure it's symlinked in case you're using Capistrano.
|
||||
* You must add a views/spree/digitals/unauthorized.html.erb file to present an error message to the user if they exceed the download / days limit
|
||||
* We use send_file to send the files on download. Yes, it goes through the entire stack right now.
|
||||
|
||||
h2. Installation
|
||||
|
||||
Reference in New Issue
Block a user