← All modules

Magento 2 module

Catalog Product Preselect

Automatically preselects a variant of configurable products on product pages and in product lists: the first one, the cheapest or the most expensive.

Configurable products open with all options unselected, so shoppers see a price range or the lowest price and have to choose every option before they see the actual product. This module selects a variant automatically. Depending on your choice it picks the first variant, the cheapest or the most expensive one, separately for product pages and for product lists.

Features

  • Automatic preselection of configurable product options on the product detail page and in product lists with swatches.
  • Three modes: “First Product”, “Lowest Price” and “Highest Price”.
  • Options that are already given in the page address, for example from a link to a specific colour, are kept; the module then picks the best matching variant for the remaining options.
  • When a shopper edits a configured product from the cart, the existing choice is kept and nothing is preselected.

Configuration

Go to Stores > Configuration > Infrangible Solutions > Product Preselect. The groups “Listing” and “Detail Page” each have an “Enable” switch and a “Mode” (“First Product”, “Lowest Price” or “Highest Price”). The settings can be changed per website and store view.

Good to know

A companion module, “Catalog Product Preselect Hyvä Theme”, brings the preselection on product pages to stores using the Hyvä theme. Without it, the module works with the standard Magento frontend (Luma and Luma-based themes).

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-product-preselect

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.

Using the Hyvä theme? Also install the companion module Catalog Product Preselect Hyvä Theme:

composer require infrangible/m2-catalog-product-preselect-hyva