rubyonrailsin

A Ruby and Rails talk

Wednesday, March 31, 2010


Re: [spree-user] related products extension not working

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Ryan,

I recently added some extra features that depend on a yet-to-released spree-automatic-coupons extension, and I thought I had related_products setup to work without it (but I didn't). 

I've just pushed a fix to related_products so if you grab the latest version you should be good to go!

Later,

Brian

On 31 March 2010 19:32, McKenzie <ryan@souliss.com> wrote:
Hey everyone,

I've just pulled the latest related_products extension from the
RailsDog repo. I've raked the db, restarted the app and navigated to
the product related tab in the admin menu and I've received this error
about some coupon code?

 Showing vendor/extensions/related_products/app/views/admin/products/
related.html.erb  where line #12 raised:

uninitialized constant
ActionView::Base::CompiledTemplates::AutomaticCouponsExtension

Extracted source (around line #12):

9:   <div id="add-line-item">
10:     <fieldset>
11:       <legend><%= t('add_related_product') %></legend>
12:       <div style="float:left;width:<%=
Spree::Extension.descendants.include?(AutomaticCouponsExtension) ?
"40" : "55" %>%;margin-right:5%;">
13:         <%= label_tag :add_product_name, t("name_or_sku") %>
14:         <%= text_field_tag :add_product_name,  {}, :class =>
'fullwidth title'  %>
15:         <%= hidden_field_tag :add_variant_id %>


Has anyone come across this problem before?

Thanks

Ryan

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.




--
Brian Quinn

-------------------------------------------
Rails Dog LLC
2 Wisconsin Circle, Suite 700
Chevy Chase, MD 20815
voice: (301)560-2000
-------------------------------------------

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive