faststore icon indicating copy to clipboard operation
faststore copied to clipboard

fix: prevents duplicates of unavailable SKUs overriding available SKUs in getSkuLoader

Open wdiasjunior opened this issue 2 months ago • 1 comments

What's the purpose of this pull request?

Fixes a bug in getSkuLoader that returns duplicates of inactive/unavailable Related SKUs in the array if there are any, and overrides the available ones.

How it works?

Checks if the SKU ID is available before calling enhanceSku to prevent the active/available Related SKUs to be overwritten and returned in the array.

wdiasjunior avatar Nov 13 '25 16:11 wdiasjunior