Skip to content

Product list widget

Product List Widget

The Product List Widget displays a list of product cards, each featuring a picture, text, icons, and a “Read More” button. This widget supports Bilberry’s product collection feature or directly specified product catalog IDs, offering flexibility in setup.

Widget in Action

Key Features

  1. Dynamic Product Display Showcases product cards with rich visuals and detailed information.

  2. Customizable Layout Configure scrolling or wrapping, number of cards per row, and alternating colors for a tailored look.

  3. Custom URLs Link each product card to specific “Product Detail” pages with customizable URLs.

How to Use

Add the widget to your webpage using the HTML snippet below. Customize its properties as needed.

Examples:

  1. Using Product Collection ID:
<bilberry-product-list product-collection-id="123"></bilberry-product-list>
  1. Using Product Catalog IDs:
<bilberry-product-list
product-catalog-ids="1,2,3"
scroll="no"
product-catalog-urls="/page-1,/page-2,/page-3"
></bilberry-product-list>
  1. Advanced Configuration:
<bilberry-product-list
product-catalog-ids="1,2,3,4"
scroll="no"
background-colors="#395542,#1D252D,#333F48"
text-colors="#FFFFFF,#FFFFFF,#FFFFFF"
primary-colors="#183028,#333F48,#1D252D"
primary-text-colors="#FFFFFF,#FFFFFF,#FFFFFF"
accent-colors="#183028,#333F48,#1D252D"
accent-text-colors="#FFFFFF,#FFFFFF,#FFFFFF"
></bilberry-product-list>

Widget Properties

PropertyDescriptionDefault ValueRequired
product-catalog-idsComma-separated list of product catalog IDs. Either this or product-collection-id is required.N/AYes*
product-catalog-urlsComma-separated list of URLs for “Product Detail” pages. Order must match product-catalog-ids.UnsetNo
product-collection-idID of a product collection defined in Bilberry Backoffice. Either this or product-catalog-ids is required.N/AYes*
scrollDetermines if cards scroll (yes) or wrap (no).noNo
orientationOrientation of the product cards: portrait or landscape. Landscape stacks cards.portraitNo
num-xsNumber of cards visible per row on extra small screens (mobile).1No
num-smNumber of cards visible per row on small screens (tablets).2No
num-mdNumber of cards visible per row on medium screens (small desktop screens).2No
num-lgNumber of cards visible per row on large screens (large desktop screens).3No
background-colorsComma-separated list of HTML color codes for card backgrounds.UnsetNo
text-colorsComma-separated list of HTML color codes for card text.UnsetNo
primary-colorsComma-separated list of HTML color codes for primary card elements.UnsetNo
primary-text-colorsComma-separated list of HTML color codes for primary text on cards.UnsetNo
accent-colorsComma-separated list of HTML color codes for accent card elements.UnsetNo
accent-text-colorsComma-separated list of HTML color codes for accent text on cards.UnsetNo
lazy-loadSet to yes to defer loading the widget content until it is visible in the viewport. Options: yes, no.noNo

Text Customization Properties

PropertyDescriptionDefault ValueRequired
button-text-customization-keysComma-separated list of text customization keys for the “Read More” button. Order must match product-catalog-ids.UnsetNo

Setting Up on Wix

If you’re using Wix as your website builder, follow these steps to configure the widget:

  1. Access the Configuration Guide: Refer to the relevant guide in these docs for general widget setup on Wix.
  2. Use the Following Values:
    • Server URL: https://bilberry-widgets.b-cdn.net/v4/wix-wrappers/WixBilberryProductList.js
    • Tag Name: wix-bilberry-product-list

Tips for Effective Integration

  1. Highlight Key Products: Use the product-catalog-ids and product-catalog-urls properties to feature specific products with links to dedicated detail pages.
  2. Optimize Layout for Devices: Configure the num-* properties to control how many cards are displayed per row on different screen sizes.
  3. Customize Visuals: Define alternating colors for cards using the color-related properties to enhance visual appeal.
  4. Test Scroll and Wrap Options: Experiment with the scroll setting to find the best layout for your website.
  5. Experiment with the Orientation: Use the orientation property to stack cards in landscape mode for a different look.

By integrating the Product List Widget, you can provide users with an engaging and interactive way to explore your products, encouraging interest and engagement.