Collections
While you can add a collection anywhere on your site in Nyla, the best place to add collections is within the Collection section. This is the only way to have a /collections/ link in the url.
Best practice
It is best practice to link a Source Collection to a page using Page Source. This will allow for the use of Page templates and automation tools.
Collection Filter URLs
Filter options/values on Collections can be set by a human-readable query string
- Syntax: /collections/collection-handle?filter_option=filter_option_value e.g.https://supergoop.com/collections/face?skin_type=sensitive sets the value of the “Skin Type” filter to “Sensitive”
- You can set multiple filter option values e.g. https://supergoop.com/collections/face?skin_type=sensitive-dry sets the value of the “Skin Type” filter to both “Sensitive” as well as “Dry”
- You can set filter options and values simultaneously e.g. https://supergoop.com/collections/face?skin_type=dry&formula=clean_chemical sets the value of the “Skin Type” filter to “Dry” as well as the value of the “Formula” filter to “Clean Chemical”