Giter VIP home page Giter VIP logo

downloadable's People

Contributors

chtrinh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

downloadable's Issues

Broken for 0.8.5

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?

Error when installing Downloadable

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.

<MissingSourceFile: no such file to load -- application.rb>

Did I miss a step?

Using spree 0.10.1 and Rails 2.3.5 on Ubuntu..

Thanks!
Gary

Error on add to cart

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:inadd_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

NoMethodError in Products

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:


  • 9: <% if taxon.nil? %>
    10: <%= link_to small_image(product), product %>
    11: <%= link_to product.name + "#{product_price(product)}", product, :class => 'info' %>
    12: <% else %>
    13: <%= link_to small_image(product), seo_url(taxon, product) %>
    14: <%= link_to product.name + "#{product_price(product)}", seo_url(taxon, product), :class => 'info' %>

    Trace of template inclusion: /usr/lib/ruby/gems/1.8/gems/spree-0.9.2/app/views/products/index.html.erb

  • missing source

    Could not load extension from file: downloadable_extension.

    <MissingSourceFile: no such file to load -- application.rb>

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.