You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActionView::Template::Error (undefined method `attachment' for nil:NilClass):
11: <% @product.variant_images.each do |i| %>
12: <% next if @product.images.include?(i) %>
13:
14: <%= image_tag(i.attachment.url(:mini)) %>
15:
16: <% end %>
17: <% end %>
This is evident where there are variants is present.
The text was updated successfully, but these errors were encountered:
Hi! Thank you for your very best work.
The only problem is this:
ActionView::Template::Error (undefined method `attachment' for nil:NilClass):
11: <% @product.variant_images.each do |i| %>
12: <% next if @product.images.include?(i) %>
13:
14: <%= image_tag(i.attachment.url(:mini)) %>
15:
16: <% end %>
17: <% end %>
This is evident where there are variants is present.
The text was updated successfully, but these errors were encountered: