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

Variation Images Not Importing #36

Open
ChrissiePollock opened this issue Nov 4, 2023 · 2 comments
Open

Variation Images Not Importing #36

ChrissiePollock opened this issue Nov 4, 2023 · 2 comments
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: question The issue is a question about how code works.

Comments

@ChrissiePollock
Copy link

Describe the bug

When Square is set as the main source for syncing products will update and if there is no Product Image set in WooCommerce, yet the image set in Square is in the media library on WordPress then the image will sync and show on the product when updated (expected behavior, although not intuitive to add the image to the library first).

However, even with the images in the media library, images for variations do not sync from Square. If this is expected behavior, perhaps we should update documents?

@vikrampm1 vikrampm1 added priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: question The issue is a question about how code works. labels Nov 6, 2023
@diegocurbelo diegocurbelo transferred this issue from another repository Jan 8, 2024
@sophiegyo
Copy link

sophiegyo commented Mar 25, 2024

We had a question about this in 7891565-zen - they report having a store with around 900 products which would be quite a bit of work to rebuild within WC.

I did suggest using a product import CSV to bring in additional images.

@bt-jeremy
Copy link

Hello –

I have a project where we are using Square as the system of record and are aiming to import over 1,600 items into WooCommerce, with many new things over time.

Many items are variable, and while the main product image comes in via the import, the images set for the variations within do not.

It sounds here like this is the current behavior of the WooCommerce Square plugin, even if I were to preload the images into the website library, is that correct?

If so, I'm hoping this can be changed, or that I can use hooks to process the images myself.

I am already using hooks to get custom attribute data, but so far I just see image IDs in the data (like "SZNX4OLA7CWL5JQFWB65ZBPO") rather than direct references to the images.

Is there a method I can use in the plugin code to retrieve an image given an ID like that, or would I perhaps need to use an API?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: question The issue is a question about how code works.
Projects
None yet
Development

No branches or pull requests

4 participants