Task: Investigate why some products do not display all images
Investigate why some products do not display all images
28.08.2026happybaby2000.ru
Check products for which the new frontend displays an incomplete set of images and find the cause of the discrepancy with the source data.
Task
Investigate why some HappyBaby products on the new frontend do not display all available images.
What to check
- what images are actually stored for the problematic product in the source MODX/backend;
- whether all images are included in the API/GraphQL response of the new frontend;
- whether there is any filtering or data loss during transformation/normalization;
- whether some images fail to load due to historical paths (
images_old,userfiles, and other legacy variants); - whether there are any errors in the image resizer/proxy;
- whether images are being discarded at the frontend gallery component level;
- compare several problematic products with several correct ones to isolate the level of the problem.
Result
Find the specific cause of the incomplete image display and determine the minimal fix without losing compatibility with the old catalog.
Ворклоги
Fixed. The issue was that the tv-parameter name was checked against a regular expression that only looked for a single digit after the name, but there were 2. Replaced it with startsWith.