Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
[SD-988] Removes vendor info partial from Spree
Robert Nowakowski3a20663a5628
diff --git a/frontend/app/views/spree/products/_vendor_info.html.erb b/frontend/app/views/spree/products/_vendor_info.html.erbdeleted file mode 100644index a4830ae18a..0000000000--- a/frontend/app/views/spree/products/_vendor_info.html.erb+++ /dev/null@@ -1,13 +0,0 @@-<% if @product.vendor %>- <div id="product-vendor-info">- <%= link_to vendor_path(@product.vendor), class: "vendor-link d-inline-block" do %>- <% if @product.vendor.image %>- <%= image_tag main_app.url_for(@product.vendor.image.url(:small)), class: 'product-details-vendor-img d-block' %>- <% end %>- <h4 class="product-details-vendor-name d-flex align-items-center mt-3 mb-4">- <%= @product.vendor.name %>- <%= icon(name: 'arrow-right', classes: "vendor-icon ml-2", width: 18, height: 20) %>- </h4>- <% end %>- </div>-<% end %>diff --git a/frontend/app/views/spree/products/show.html.erb b/frontend/app/views/spree/products/show.html.erbindex f750f8b8d3..c93e4ac918 100644--- a/frontend/app/views/spree/products/show.html.erb+++ b/frontend/app/views/spree/products/show.html.erb@@ -9,9 +9,6 @@<div class="row" data-hook="product_show"><%= render partial: 'gallery' %><div class="col-12 col-md-5" data-hook="product_right_part">- <% if @product.respond_to?(:vendor) %>- <%= render partial: 'vendor_info' %>- <% end %><div id="product-description" data-hook="product_right_part_wrap"><h1 class="mt-3 mt-md-0 text-center text-md-left product-details-title"><%= @product.name %>