Replace hardcoded store ID = 1 with either input argument or detected default store ID.

@tim-bezhashvyly Can we call this something more specific like $skuWildcard or $skuPattern?  And default it to null since it's not required.