Gear
Import the Gear design and it brings blocks and content types of its own, on top of the main Canvas library. Read this page when you are working on a site built from Gear and meet a block you cannot find in the main reference.
These items stay registered on every site so that content you have already imported keeps rendering, and they appear in the block inserter only where the design is in use.
Blocks this design adds
Gear Products
canvas-core/gear-products
A WooCommerce product grid in the Gear card shape: a tall photograph with the tag, name, price and shop link over its foot. In the block inserter it is named Canvas Gear Products.
Select the block on a page and its own settings open in the sidebar, in the panels below:
Query
ProductsDefaultLatest products
Which products the grid pulls in.
ChoicesLatest productsFeatured productsA product categoryA product tag
Category slugDefaultEmpty
Comma-separated product category slugs. Slugs travel between sites, so the grid keeps working after an import.
Shown when Products is "A product category"
Tag slugDefaultEmpty
Comma-separated product tag slugs. Slugs travel between sites, so the grid keeps working after an import.
Shown when Products is "A product tag"
Number of productsDefault
3How many products to show.
Order byDefaultStore order
What to sort the products by.
ChoicesStore orderDateTitlePrice
OrderDefaultAscending
Read the sort order forwards or backwards.
ChoicesAscendingDescending
Layout
Grid classesDefault
row g-4Classes on the row wrapping the product cards.
Column classesDefault
col-md-4Classes on each column, which is where the number of cards per row is set.
Card classesDefault
wr-product-cardClasses on the box around one product.
Photo box classesDefault
wr-product-imgClasses on the picture area at the top of a card.
Overlay classesDefault
wr-product-overlayClasses on the panel under the picture that holds the tag, name, price and link.
Image sizeDefault
woocommerce_thumbnailWhich stored size of the product photo to load.
Card
Show the tagDefaultOn
Show a small label above the product name.
Tag reads fromDefaultProduct tags
Whether the label reads the product tags or the product categories. The first one on the product is used.
ChoicesProduct tagsProduct categoriesShown when Show the tag is on
Tag classesDefault
wr-product-tagClasses on the label above the product name.
Shown when Show the tag is on
Name classesDefault
wr-product-nameClasses on the product name.
Name LinesDefaultOne line (let the card wrap it)
Two balanced lines breaks the product name at the word boundary that leaves both lines closest in length, which is how the design sets its names.
ChoicesOne line (let the card wrap it)Two balanced lines
Show the priceDefaultOn
Show the product price.
Price classesDefault
wr-product-priceClasses on the price.
Shown when Show the price is on
Price PrefixDefaultEmpty
Text placed before the figure, for a range that starts at this price.
Shown when Show the price is on
Price DecimalsDefault
0How many decimal places the price shows. 0 rounds it to a whole figure.
Shown when Show the price is on
Show the shop linkDefaultOn
Show a link from each card to the product page.
Shop Link TextDefault
Shop NowWording on the product link.
Shown when Show the shop link is on
Shop Link ClassesDefault
wr-product-linkClasses on the product link.
Shown when Show the shop link is on
Shop Link IconDefault
uil uil-arrow-rightIcon shown after the link wording. Empty shows none.
Shown when Show the shop link is on

