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

Commerce Variant Field only searches by variant title, not product title #934

Closed
bossanova808 opened this issue Jul 17, 2019 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@bossanova808
Copy link
Contributor

Description

This is a UI issue, but when I am searching for a variant like

'Clearbags - small'

(which is the product title - variant title)

...I'd expect to be able to start the search with clearbags, but that gives no results. So I have to search on small which then brings up all sorts of unrelated small products, and is counter-intuitive for authors I feel.

(
...I may be I am missing some sort of facility for this to do with (auto) variant titling? Ideally it would use the Product Title - Variant Title, and or the Order Description Format (e.g. for these I have

{% if object.product.type.hasVariants %}{{ object.product.title }} - {{ object.title}}{% else %}{{ object.title}}{% endif %}

)

@lukeholder lukeholder added the 💡 enhancement Ideas and suggestions label Jul 19, 2019
@lukeholder
Copy link
Member

I will add the description to the search index, that should solve it. Adding to the list.

@nfourtythree
Copy link
Contributor

This has been updated and will be included in the 2.2 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants