Diptyque project has 3 types of Layouts for Category Pages
How to change the Category Layout?
- Sign in Magento Admin Panel
- Go to
Catalog > Categories
section of Admin Panel
- In a list of Categories choose any category to open its Edit Form
- In the Category Edit Form expand the Design block
and change the
Listing Page Layout
field’s value:
- Save the changes by pressing Save button.
Note
- Due to the caching it may take 10-40 minutes before the new layout will be rendered on website;
Listing Page Layout
field is storeview-sensitive: you can choose different values for different storeview if it is required;
How to manage Category content?
Each type of the Category page has its own specific mechanics for content management. But all of them has similar Contentful related flow to render Contentful modules:
- An entry has to be created in Contentful according to the chosen Layout
- An entry of “Category Modules” Content Type’s entry for PLP Layout
- An entry of “Collection Modules” Content Type’s entry for Collection Layout
- An entry of “Main Category Modules” Content Type’s entry for Main Category Layout
- Inside this entry you are choosing one or several categories where Contentful blocks has to be rendered (providing Categories’ IDs)
- Inside this entry you are creating a list of new (or reusing existed) Contentful modules.
- Publish
And Generally, that is all you need to render chosen Contentful Modules on chosen category page. Read more specific details about exact cases below with the description of exact Contentful modules.
How to manage PLP content?
Please go to PLP article to read more
How to manage Collection Page content?
Please go to Collection Page article to read more
How to manage Main Category Page content?
Please go to Main Category Page article to read more
How to get a link for a Category?
- Sign in Magento Admin Panel
- Go to
Catalog > Categories
section of Admin Panel
- In a list of Categories find an ID of the chosen category (ID is a number in brackets next to the category number)
- For example: “Tous les parfums” category from a screenshot has ID
96
- Go to
Marketing > URL rewrites
section of Admin Panel
- Then expand Filters Form by clicking Filters button
- Insert a string
catalog/category/view/id/96
inside a Target Path
field in Filters Form and press Apply filters button.
- Please note that you have to change number value
96
from this link into any other category ID number.
- For example, if you wish to create a link for BestSellers category with ID
302
- you have to use catalog/category/view/id/302
string as a value for Target Path
field
- You will find a bunch of results related to this category for different storeviews. Check the Store View column and find row for a relevant storeview.
- Then copy its
Request Path
value.

Step 3

Step 5 and 6

Step 7 and 8