Skip to content

Commit

Permalink
Merge pull request #1018 from sacr3dc0w/master
Browse files Browse the repository at this point in the history
Restore four products per row on category pages when sidebar is empty.
  • Loading branch information
junedkazi authored Jun 16, 2017

Unverified

This user has not yet uploaded their public signing key.
2 parents b7ff850 + a72f7be commit b22fb4a
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
## Draft
- Swaps `writeReview` for `write_review` to fix email link issue [#1017](https://github.com/bigcommerce/cornerstone/pull/1017)
- Maintenance page stylesheet fix [#1016](https://github.com/bigcommerce/cornerstone/pull/1016)
- Restore four products per row on category pages when sidebar is empty. [#1018](https://github.com/bigcommerce/cornerstone/pull/1018)

## 1.8.1 (2017-05-05)
- Bug fix for category sidebar [#1006](https://github.com/bigcommerce/cornerstone/pull/1006)
8 changes: 5 additions & 3 deletions templates/pages/category.html
Original file line number Diff line number Diff line change
@@ -24,9 +24,11 @@ <h1 class="page-heading">{{category.name}}</h1>
{{{category.description}}}
{{{snippet 'categories'}}}
<div class="page">
<aside class="page-sidebar" id="faceted-search-container">
{{> components/category/sidebar}}
</aside>
{{#or category.subcategories category.faceted_search_enabled category.shop_by_price}}
<aside class="page-sidebar" id="faceted-search-container">
{{> components/category/sidebar}}
</aside>
{{/or}}

<main class="page-content" id="product-listing-container">
{{#if category.products}}

0 comments on commit b22fb4a

Please sign in to comment.