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

Product Gallery Not Properly Queried #127

Open
pcfreak30 opened this issue Oct 20, 2018 · 1 comment
Open

Product Gallery Not Properly Queried #127

pcfreak30 opened this issue Oct 20, 2018 · 1 comment

Comments

@pcfreak30
Copy link
Contributor

in \WC_Product_Variation_Data_Store_CPT::read_product_data you have 'gallery_image_ids' => array_filter( explode( ',', get_post_meta( $id, '_product_image_gallery', true ) ) ),

However the backwards compatibility code will only return the 1st id due to use of single needs. some sort of flag in the mapping to do an implode for code compatibility (or change that core method).

Possibility of similar things with other meta that store several ids in one key.

@pcfreak30 pcfreak30 reopened this Oct 20, 2018
@pcfreak30
Copy link
Contributor Author

This appears to be possible with plugins like subscriptions since their data stores are not hijacked

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