conversionfoundry / breeze_commerce

MIT License
1 stars 1 forks source link

Can't add to cart in Safari - missing template #45

Closed Caleb-Martin closed 12 years ago

Caleb-Martin commented 12 years ago

Template is missing

Missing template breeze/commerce/orders/populate, breeze/commerce//populate, breeze/contents/populate, breeze//populate, application/populate with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :haml]}. Searched in: * "/var/www/fudgecottage/app/views" * "/var/www/fudgecottage/vendor/themes/fudgecottage" * "/home/admin/breeze_apply_online/app/views" * "/usr/local/ruby/lib/ruby/gems/1.9.1/gems/kaminari-0.14.1/app/views" * "/home/admin/breeze_pay_online/app/views" * "/home/admin/breeze_commerce/app/views" * "/home/admin/breeze_account/app/views" * "/home/admin/breeze/app/views" * "/usr/local/ruby/lib/ruby/gems/1.9.1/gems/devise-2.0.4/app/views"

Caleb-Martin commented 12 years ago

You can do it if you are logged into breeze...

isaacfreeman commented 12 years ago

This looks like an issue with javascript loading - possibly missing jquery_ujs when there's no admin logged in.

isaacfreeman commented 12 years ago

The theme wasn't loading breeze/breeze.js, which in turn loads jquery_ujs. We didn't notice immediately because the theme had an extra line loading jQuery, so other stuff was working.

This suggests that we need some documentation for theme builders explaining how to use standard breeze javascript. I'll add this as an issue for Breeze.