Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: Only Primary Site Entries availables on Discount RelatedTo Entry Conditions #3739

Closed
svondervoort opened this issue Oct 24, 2024 · 4 comments
Assignees
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce

Comments

@svondervoort
Copy link

What happened?

Description

We have a multi-site Craft project with a portion of the sites being a webshop.
We have created some entries that an be related to a user for certain discount groups.
Now in the condition Match Customer Realted To -Entry it seem you can only pick sections and entries from the Primary Site.

We changed to propagation method to create entries on all sites enabled for the section, but it clutters the sections for the sites that don't really need the Entry Section.

Steps to reproduce

  1. Create at least 2 sites, each with a different set of sections.
  2. Create a discount with Match Customer Realted To -Entry and see only the sections of the Primary Site are visible

Expected behavior

Ability to pick from a specific site.

Actual behavior

Only able to pick entries from the Primary Site.

Craft CMS version

4.12.8

Craft Commerce version

4.7.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@svondervoort svondervoort added bug commerce4 Issues related to Commerce v4 Craft Commerce labels Oct 24, 2024
@lukeholder
Copy link
Member

Craft 5.5.0 is now out and supports selecting the site in the related to modal. Thanks!

@svondervoort
Copy link
Author

@lukeholder and what about Craft 4 & Commerce 4? Is it also possible to fix it there? Or is this a Craft 4 restriction?

@lukeholder
Copy link
Member

@svondervoort Yes I believe so, we recommend you upgrade. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce4 Issues related to Commerce v4 Craft Commerce
Projects
None yet
Development

No branches or pull requests

2 participants