Views support for filtering products based on active domain not working

Created on 28 December 2023, over 1 year ago

Problem/Motivation

I am trying to configure my catalog view of commerce product entities to only show products for which the domain of the store matches the currently active domain.

After installing commerce_store_domain and adding a "Store" relationship to my catalog view of products, there are two new options available for contextual filtering ("domain" and "domain") that seem to be identical but neither seems to work.

Am I missing something or is this a bug?

Steps to reproduce

- Drupal 10.1.7 with latest latest version of commerce and the domain module configured
- install commerce_store_domain, assign domains to each store
- Create a view with products and attempt to filter those products based on a contextual filter using the "Domain" set to the store (see screenshots)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇹🇭Thailand AlfTheCat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024