README.md in piggybak_variants-0.0.14 vs README.md in piggybak_variants-0.0.15
- old
+ new
@@ -17,11 +17,16 @@
In the admin, define option configurations and option values for each option, then create variants for your sellable instances.
Finally, add `<%= variant_cart_form(@instance) %>` to your sellable item's show page to render the cart form.
-OPTION: `<%= variant_cart_form(@instance, :controls => 'dropdowns) %>` to render dropdowns instead of radio buttons.
+OPTION: `<%= variant_cart_form(@instance, :controls => 'dropdowns') %>` to render dropdowns instead of radio buttons.
+In your `config/environments/production.rb`, add the following line to allow pre-compilation of piggybak_variants.js:
+
+ config.assets.precompile += %w(piggybak_variants/piggybak_variants.js)
+
+So either add that line, or if you already have it enabled just add `piggybak_variants/piggybak_variants.js` to the array of values.
TODO
========
* Notes specified in variant.rb