Skip to content

Patch: Attribute group data and swatch check scaling

Compare
Choose a tag to compare
@carinadues carinadues released this 28 Sep 19:53
· 24 commits to master since this release
3cc3ca7

What's inside

  • getData() was being run inside of a loop on $groupColection, so it was moved a level above, on the attribute.
  • isSwatchAttribute was moved into a separate loop by attributes.

Overall, for big collection load, it cut the time from 60 seconds to 25 seconds and the data returned is the same. Kudos to @aleksandrsm!

That's all there is to it! :)