Skip to content

Theme components

Garnet provides theme components for the marketplace. All components can be recreated using liquid code, or any other frontend framework.

Theme component viewed in Shopify

Vendor directory component

Add the vendor directory where you need to use Garnet's built-in components. Open your Shopify theme editor, navigate to the page you want to change, add a section and select Vendor directory.

vendor directory template demo

You can customize the component with the following settings:

  • Image display: How images should fit the tile.
  • Show vendors without images: hide/show vendors that did not provide any images.
  • Fallback image: In case you are displaying missing images, select a fallback image.
  • Images height (px): The height of the image tile. The width will be automatically computed.
  • Images per column: Number of columns to show.
  • Gap between images (px): the space between columns.

Vendor holiday component

Displays the vendor holiday message. The message will only show if the vendor is on holiday during this specific day.

The message is automatically hidden when the holiday is over. It can be displayed anywhere in your store. Usually it is right below the purchase buttons.

Follow this link to learn more about the holiday feature.

Holiday theme component showcase

You can customize the component with the following settings:

  • Product: The vendor's product to use as a reference to find the vendor's holiday settings
  • Text color: The color of the vendor's holiday message. Default: Red.

Vendor profile component

Display the vendor's image and description next to the product information.

Vendor profile component showcase

You can customize the component with the following settings:

  • Product: The product to extract the vendor from,
  • Image height (px): The height of the image,
  • Image width (px): The width of the image,
  • Image rounded corner (px): Add rounding to the image corner (0px for no rounding),
  • Gap between image and text (px): Distance between the image and the text,
  • Display as column: Check to display the image above the text,
  • Button text: If the vendor has a vendor page, you can specifiy the call-to-action text,
  • Button classes: Add classes to the call-to-action to match your theme's design.