Settings are on Clink C7 → Products → Display.
Pages and URLs #
- Product URL slug is the base for product pages. The default is
c7-products, so a product lives at/c7-products/product-name/. - Club / members URL is the page linked from members-only products. The default is
/club/. - Enable archives turns on the product archive and the collection, type, and allocation archives.
- Enable single product pages turns on a page for each product. Shortcodes still work if this is off.
Grid defaults #
- Products per page defaults to 9.
- Columns defaults to 3, with a maximum of 6.
- Tablet breakpoint defaults to 768 pixels.
- Infinite scroll loads the next page as the visitor scrolls. Off, the grid shows one page.
- Show variant options in list view puts the add-to-cart form on the card when a product has more than one variant. Off, that card links to the product page with Select Options.
Shortcode attributes override these defaults for that one grid.
Shortcodes #
[clink_c7_products]
[clink_c7_products collection="red-wine" type="wine" limit="12" columns="4" keep_loading="1"]
| Attribute | What it does |
|---|---|
collection |
Limit the grid to these collection slugs. Separate several with commas. |
type |
Limit the grid to these product-type slugs. Separate several with commas. |
limit |
Products per page. |
columns |
Number of columns. |
keep_loading |
1 turns infinite scroll on for this grid. 0 turns it off. |
After a sync, the Display tab also lists a ready-made shortcode for each collection and each product type.
[clink_c7_product_single slug="product-slug"]
slug is the Commerce7 product slug. id is the WordPress post ID, if you would rather target that. Optional excludes hides parts of that embed, for example excludes="price,sku".