Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3803364
Variation Gallery with WPC Variation Bulk Editor for WooCommerce
Open

Comments

  •  2
    Aijaz Madhavi started the conversation

    Hello!

    Your plugin seems really usefull, but I am having a problem with it. When I try to bulk edit gallery images it doesn’t seem to stay when I inspect the variation.

    I hope you can help me!

  •  1,355
    Dustin replied

    Hi Aijaz,

    Which plugin are you using to add a variation gallery?

    You can try our plugin here: https://wordpress.org/plugins/wpc-additional-variation-images/. It's compatible with WPC Variation Bulk Editor.

    Best regards,
    Dustin

  •  2
    Aijaz Madhavi replied

    Hi, Dustin thanks for replying, I am using your plugin 'WPC Additional Variation Images for WooCommerce'
    But I am using Xtemos Woodmart theme for my woocommerce site, and this plugin does not seem to work.

    When I activate plugin my gallery won't even work normally.

    For bulk variation editing I am using WPC Variation Bulk Editor plugin.

  •  1,355
    Dustin replied

    Please send me your website credentials (wp-admin link, username, and password) or create a dev/staging site with identical configurations so I can check for any issues.

    Best regards,
    Dustin

  •   Aijaz Madhavi replied privately
  •  2
    Aijaz Madhavi replied

    please update.

  •  1,355
    Dustin replied

    I've added a snippet for you. Please recheck it.

    2824567263.png

    // WPC Variation Bulk Editor - Fix for gallery images
    add_action( 'wpcvb_bulk_update_variation', function ( $variation_id, $fields ) {
    	if ( ! empty( $fields['wd_additional_variation_images'] ) ) {
    		update_post_meta( $variation_id, 'wd_additional_variation_images_data', sanitize_text_field( $fields['wd_additional_variation_images'] ) );
    	} elseif ( ! empty( $fields['woodmart_variation_gallery'] ) ) {
    		update_post_meta( $variation_id, 'wd_additional_variation_images_data', sanitize_text_field( $fields['woodmart_variation_gallery'] ) );
    	}
    }, 99, 2 );

    Best regards,
    Dustin

  •  2
    Aijaz Madhavi replied

    Hello Dustin,
    seems like it works, I will close this ticket after testing please give me 3-5 days.

  •  2
    Aijaz Madhavi replied

    Hi, gallery seems to be working fine but now I can't search media in Popup box of WPC variation bulk editor.
    Please check the image below:
    https://ibb.co/SwRMsqvJ
    Either I upload main image or gallery search bar won't register in media.
    https://ibb.co/nqjf4dm3
    Here I can't search media.

  •  1,355
    Dustin replied

    Thanks for your time in checking it!

    It didn't work for me either. We'll check and fix this issue on the next updated version.

    Best regards,
    Dustin

  •  2
    Aijaz Madhavi replied

    Alright, Dustin.
    It was great communicating with you, you solved the problem.
    Thank you so much. you can mark this ticket as resolved.