amacgregor/crimson_commerce

refactor: make row size configurable

Closed this issue · 0 comments

Row size should be configurable at the global level and not hardcoded

In apps/crimson_commerce_web/lib/crimson_commerce_web/views/category_view.ex (Lines 5-6)


    Map.put(assigns, :products, Enum.chunk_every(products, 4))

Open on Web · Open in IDE · Open on GitHub