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

Missing Variation description #246

Open
vernaillen opened this issue Sep 11, 2024 · 0 comments
Open

Missing Variation description #246

vernaillen opened this issue Sep 11, 2024 · 0 comments

Comments

@vernaillen
Copy link
Contributor

vernaillen commented Sep 11, 2024

I noticed that the (optional) variation description is not shown on the product page.

The field seems to be missing in the VariableProduct fragment as well.

I was able to override the AttributeSelections component to add this field, which you can see in this commit:
vernaillen@0a31f39
I added the variations prop (line 5), a new getSelectedDescription function (lines 21 to 29) and the html to display it (lines 149 to 152)

Maybe I can make a PR to add this to WooNuxt?
This update is working in my particular use case, but I might be overlooking something

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

No branches or pull requests

1 participant