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
Hi .,
I am using spree 4.1 and gem 'spree_one_page_stock_management', github: 'vinsol-spree-contrib/spree_one_page_stock_management', branch: '4_1_stable'
Issue : Not able to show the variants with images in the Product Stocks.
`ActionView::Template::Error (undefined method url' for #ActiveStorage::Attached::One:0x00007f35c8627230):
18:
19:
20: <% if stock_item.variant.images.present? %>
21: <%= image_tag stock_item.variant.images.first.attachment.url(:mini) %>
22: <% end %>
23:
24: <%= stock_item.product.name %>
Hi .,
I am using spree 4.1 and gem 'spree_one_page_stock_management', github: 'vinsol-spree-contrib/spree_one_page_stock_management', branch: '4_1_stable'
Issue : Not able to show the variants with images in the Product Stocks.
`ActionView::Template::Error (undefined method url' for #ActiveStorage::Attached::One:0x00007f35c8627230):
18:
19:
20: <% if stock_item.variant.images.present? %>
21: <%= image_tag stock_item.variant.images.first.attachment.url(:mini) %>
22: <% end %>
23:
24: <%= stock_item.product.name %>
activesupport (6.0.3.2) lib/active_support/core_ext/module/delegation.rb:307:in 'method_missing'`
The text was updated successfully, but these errors were encountered: