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

Update Variation Local Option localized #707

Open
FabPari opened this issue Oct 2, 2022 · 0 comments
Open

Update Variation Local Option localized #707

FabPari opened this issue Oct 2, 2022 · 0 comments

Comments

@FabPari
Copy link

FabPari commented Oct 2, 2022

Hi dear, is there a way for update variation local option name?
I try to get variations, change the attribute option (where I found text ), and update, but don't work

`
v = wc.Product.Variations.Get(variant, (int)plang.id).Result;

v.attributes[0].option = "test";

var a = wc.Product.Variations.Update((int)v.id, v, (int)plang.id).Result;
`
but don't work, any idea?
Thanks
Fabio

@FabPari FabPari changed the title Updare Variation Local Option localized Update Variation Local Option localized Oct 2, 2022
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