You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to get all product options and values without loading all variants? Currently I have products that have more than 2000 variants and it takes 5-7 seconds using Eloquent to get product option values. I'm now using custom DB query but it still takes around 2 seconds to get all the options and then filter out duplicates.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to get all product options and values without loading all variants? Currently I have products that have more than 2000 variants and it takes 5-7 seconds using Eloquent to get product option values. I'm now using custom DB query but it still takes around 2 seconds to get all the options and then filter out duplicates.
Beta Was this translation helpful? Give feedback.
All reactions