Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Fix waitlist modal on featured product page section (#12439)

Łukasz Adamczyk3ee4dcdd92c8
diff --git a/storefront/app/views/themes/default/spree/page_sections/_featured_product.html.erb b/storefront/app/views/themes/default/spree/page_sections/_featured_product.html.erb
index f9bb7551c2..f8de1e1824 100644
--- a/storefront/app/views/themes/default/spree/page_sections/_featured_product.html.erb
+++ b/storefront/app/views/themes/default/spree/page_sections/_featured_product.html.erb
@@ -124,7 +124,7 @@
<% end %>
<% end %>
<% end %>
- <%= render('spree/products/add_to_waitlist', variant: current_variant) if spree.respond_to?(:waitlist_path) && current_variant.present? %>
+ <%= render('spree/products/add_to_waitlist', variant: current_variant) if spree.respond_to?(:waitlists_path) && current_variant.present? %>
</div>
</div>
</div>