Home › Forums › WoodMart support forum › Importing variation image to Variation Image Gallery using WP All Import
Importing variation image to Variation Image Gallery using WP All Import
- This topic has 10 replies, 3 voices, and was last updated 5 years, 2 months ago by
Adapt Online.
-
AuthorPosts
-
June 13, 2019 at 3:14 pm #128446
Adapt OnlineParticipantHi,
I was wondering how I can import images to the Variation Image Gallery using WP All Import.
When I’m importing two images now the first image is set as the variation image but the second image does not show up and the Variation Image Gallery is empty. Is it a meta_field I need to set? Or how does it work?
Regards
June 13, 2019 at 6:32 pm #128469
Artem TemosKeymasterHello,
The meta field for additional variations images gallery is called
woodmart_variation_gallery
. It contains IDs of images uploaded to specific variation.Kind Regards
September 9, 2019 at 10:04 am #142739
dsl-msParticipantIs there anyway that I can use product/variation SKUs instead of IDs to reference the additional images? I’m trying to get this working with an import/export plugin but working with ID’s can be difficult… I installed another plugin (WooCommerce Additional Variation Images) to get this functionality, but that breaks some of the functionality of the theme and your implementation already exists mostly.
There is however a code snippet provided by the import/export plugin to enable using SKUs instead of IDs when referencing the images for import/export (in private content area)… is there a way you can modify this to make it work with the woodmart_variation_gallery meta field please, I think it will be a simple change for you?
September 9, 2019 at 2:19 pm #142747
Artem TemosKeymasterHi,
Sorry, but this functionality requires IDs for images and can’t work with any kind of other fields.
Regards
September 10, 2019 at 2:36 pm #142985
dsl-msParticipantOk. The Additional Variation Images plugin by woocommerce can achieve this, but it breaks a few things on the product page (please see screenshots in private area) when active. I have been in touch with them and they pointed me back to you guys 🙁
So I feel a bit stuck right now… Here’s what they said:Unfortunately, it looks like your theme isn’t playing nicely with Additional Variation Images. Your best bet here would be to contact your theme’s developer for a fix, as they have declared WooCommerce support. Alternatively, you may want to consider switching to a theme that doesn’t contain these issues.
Best,
Ross
Happiness Engineer @ AutomatticPlease could you help?
September 10, 2019 at 2:45 pm #142987
Artem TemosKeymasterOur theme is fully compatible with WooCommerce but since we have our own gallery that is much more powerful then default WooCommerce one so it is not compatible with that particular extension. If you want to change the theme, we can provide you with a refund.
September 10, 2019 at 3:05 pm #142994
dsl-msParticipantI wanted to use your gallery as I said above but using ID’s isn’t gonna work and isn’t practical for most users – you must admit.
Of course I don’t want to change the theme and get a refund, how is that even helpful!? Like I said I’m in the middle here, everyone blames the other.
I need the ability to set these by SKU through an import file so it isn’t done one by one, being a time consuming process. I’ve mentioned a couple of ways to achieve it but nobody wants to add this feature to make their plugin better.
September 11, 2019 at 6:17 am #143073
Artem TemosKeymasterWe understand but our theme is designed to work with IDs and we will change to SKUs it will break a lot of functionality on other customers websites who use IDs. There is no easy solution here.
September 19, 2019 at 2:54 pm #145295
dsl-msParticipantHi Artem, I’ve given up on the idea of SKU as I understand it’s a lot of work.
However, is there at least a patch/workaround you will consider that allows me to reference the image by filename/file path? That way the image is still linked to the ID and is unique but it means I could enter a reference which makes sense and that I’d know when importing the variation images.
On a site with 100s or even 1000s of products, trying to get this format in a spreadsheet for each product is really tricky:
{“10029″:”10335″,”10028″:”10265″,”10027″:”10257”}
{“variation_id”:”attachment_id”,”variation_id”:”attachment_id”,”variation_id”:”attachment_id”}An added advantage of doing it this way would be that if the image is deleted and re-uploaded or updated, it is assigned a new ID but the filename won’t have to change and I won’t have to go re-matching image IDs.
Consider it please? 🙂
September 20, 2019 at 6:10 am #145446
Artem TemosKeymasterHi,
Connecting different things by ID is a best practice in any software project so that is why we built it in this way. Rebuilding it to URL is the same process as to SKU. And the same problem may occur here if the image will be removed. Sorry, but we will not rebuild this in our theme.
Kind Regards
December 9, 2019 at 10:35 am #162075
Adapt OnlineParticipantIf anyone needs help with this I have written a script that solves it. Just message me at [email protected]
-
AuthorPosts
- You must be logged in to create new topics. Login / Register