FYI, I can only create a ticket in SalesMax Support forum for some reason. I purchased 6 months of support yesterday.
I’m having a serious backend performance issue when editing WooCommerce variable products using the XStore variation gallery feature.
When I open a variable product and click **“Add Gallery Images”** inside a variation, the admin area starts sending a large number of admin-ajax.php requests. Each request uses:
`text
action: get-attachment
`
with a different attachment ID.
The button appears to come from XStore because the HTML class is:
`html
add-et-variation-gallery-image
`
Example button HTML:
`html
Add Gallery Images
`
The issue is that the media modal fires many separate get-attachment AJAX requests at once. These requests hang for about 30+ seconds and then return **502 errors**. My server logs also show repeated Apache/PHP timeouts for:
`text
/wp-admin/admin-ajax.php
`
with the referrer being the WooCommerce product edit screen:
`text
/wp-admin/post.php?post=105444&action=edit
`
This causes CPU and memory to spike heavily, and the WordPress backend becomes extremely slow or unusable.
Can you please help identify why the XStore variation gallery is triggering so many separate get-attachment requests and whether there is a fix, patch, or setting to prevent this AJAX overload?
Thank you.