Home Forums WoodMart support forum Variation gallery field

Variation gallery field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #701158

    NikMvr
    Participant

    We are developing an eshop using Woodmart.
    The products are going to be imported from an excel file (using WP All Import).

    It will have variable products and each variation is going to have its own gallery.
    We have seen that the IDs of the images of the variation gallery are stored in a meta field called “wd_additional_variation_images_data”.

    So during the import, if we add the desired image IDs in that field, we will see each variation gallery, correct?
    Is there something else we need to do?

    Attachments:
    You must be logged in to view attached files.
    #701254

    Artem Temos
    Keymaster

    Hello,

    Yes, the wd_additional_variation_images_data meta field is the right place to store variation gallery image IDs.

    Here’s what you need to know:

    1. Format: Store image IDs as a comma-separated string (e.g., 1123,456,7891) in the wd_additional_variation_images_datameta field for each variation.

    2. Storage method setting: Make sure the theme option Data storage method is set to “new” (which is the default). This controls which storage method WoodMart uses.

    3. Enable variation gallery: The theme option Additional variations images must be enabled for the gallery images to display on the frontend.

    Example with WP All Import:
    When importing, map your image IDs to the meta field wd_additional_variation_images_data on the variation level. The format should be:
    123,456,789

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)