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

Variations Properties -> 'images' should be 'image' #27

Closed
torrelasley opened this issue Mar 7, 2016 · 1 comment
Closed

Variations Properties -> 'images' should be 'image' #27

torrelasley opened this issue Mar 7, 2016 · 1 comment

Comments

@torrelasley
Copy link
Contributor

According to the class-wc-api-products.php file, the Variations section has an Attribute that is 'image' for the (single) image for the variation.

However, the documentation labels this attribute "images". Spent a while tracking down why my image wasn't uploading for the Variation!

torrelasley added a commit to torrelasley/woocommerce-rest-api-docs that referenced this issue Mar 10, 2016
In the Variations Properties section, change the attribute from 'images' to 'image' and also clarified that only the image in position 0 will be used.
claudiosanches added a commit that referenced this issue Mar 10, 2016
Fixed Issue #27 - Variation image attribute name
@claudiosanches
Copy link
Contributor

@torrelasley Thanks :)

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

2 participants