GitHub repository: zaiatsFlagbit/LargeConfigurableProducts
Primary language: PHP
Created: 2021-05-10T14:24:23Z
Description: Paginate configurable product associated products, to unload the backend server, therefore get rid of 504 error. I decided to create a module that will implement pagination - processing a significantly less number of associated products at the initial request (~100, subject for discussion) - thus loading the administrator page faster. In case the admin wants to edit variations which are not part of initial load - the client server triggers parametrized GET request to magento 2, with (int) offset and (int) size parameters, and adds the JSON response to existing productMatrix on success.