chtrinh / downloadable Goto Github PK
View Code? Open in Web Editor NEWUpdated for Spree 0.9.2! Create downloadable products in Spree that are served on your own server. Download limits and auto zip bulk downloads. Variant support.
Updated for Spree 0.9.2! Create downloadable products in Spree that are served on your own server. Download limits and auto zip bulk downloads. Variant support.
Yup need to change the css/tables for the downloadable files in the admin page.
Could not load extension from file: downloadable_extension.
NoMethodError (You have a nil object when you didn't expect it!
The error occurred while evaluating nil.downloadables):
vendor/extensions/downloadable/downloadable_extension.rb:64:in add_download_limit' spree (0.9.2) app/models/order.rb:125:in
add_variant'
spree (0.9.2) app/controllers/orders_controller.rb:23
spree (0.9.2) app/controllers/orders_controller.rb:21:in `each'
spree (0.9.2) app/controllers/orders_controller.rb:21
Product has no variants and has a file in downloadables
Installed spree 0.9.2 works fine...
Installed downloadables ... got the following errors:
Showing /usr/lib/ruby/gems/1.8/gems/spree-0.9.2/app/views/shared/_products.html.erb where line #11 raised:
undefined method `price' for #Product:0xb673aa58
Extracted source (around line #11):
8:
Trace of template inclusion: /usr/lib/ruby/gems/1.8/gems/spree-0.9.2/app/views/products/index.html.erb
Hi,
There's an exception with Spree 0.8.5:
spree_demo/vendor/extensions/downloadable/app/views/shared/_order_details.html.erb:30:
undefined method `charges' for #Order:0x308be18
Extracted source (around line #30):
28:
29:
30: <% order.charges.each do |charge| %>
31:
32: <%= charge.description %>
It seems like we need a separate version for each incremental release eg branch (or tag) on 0.8.3, 0.8.5, etc. Or perhaps this is a good extension to be merged into the spree base code?
So I ran the script/extension install for the downloadable extenstion.. while running rake gems:install I see this error (and at every server startup)
Could not load extension from file: downloadable_extension.
Did I miss a step?
Using spree 0.10.1 and Rails 2.3.5 on Ubuntu..
Thanks!
Gary
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.