Skip to content

Commit e6d9341

Browse files
authored
fix product catalog doc to include caching instructions (drupalcommerce#287)
1 parent e391e70 commit e6d9341

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

user/pages/03.commerce2/02.developer-guide/03.products/05.marketing-products/02.product-catalog-facets/docs.md

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ We're going to build upon the Product search view we created for the [Basic prod
3939
3. Click the *Page 2* link next to *Display name* to change the display name to "Product catalog".
4040
4. In the Page settings section, click the *No path is set* link next to *Path* to set the path to "product-catalog".
4141
5. In the Pager section, change the Items per page to "12".
42+
6. In the *Advanced* section, under *Other*, change the *Caching* setting to "Search API (tag-based)". Otherwise, facets break:
43+
![Add new views page display](../../images/product-catalog-14.png)
4244

4345
**Customize the product catalog display**
4446
>For these steps, make sure that you select *This page (override)* before applying changes. Also, see [Configure the Product Brand View fields](../../04.displaying-products/05.multiple-products#configure-the-product-brand-view-fields) in the Multi-product displays documentation for a more detailed description, with screenshots, of the configuration options we're applying here.
Loading

0 commit comments

Comments
 (0)