Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes nested array for used products cache key
When $requiredAttributeIds is passed as an array, it was previously being added to the $keyParts array directly, which resulted in a nested array. When this nested array is passed to getUsedProductsCacheKey(), the implode() in that function throws a notice and produces a cache key that contains the non-unique string "Array" as a part. This can result in caching errors where simple children of configurable products are concerned (e.g., swatches).
- Loading branch information