Stores will be able to see your online purchases but those online purchases will not help you with building a profile at the store and may in fact even hurt your store profile. Returns also hurt your profile (perhaps more so imo as it makes you look “flakey”) so, in my opinion, what’s done is done, but in the future try to concentrate all your purchases to one SA in one physical store for your easiest route to a quota bag.
ETA this has been discussed before repeatedly in one or more of the threads in the Hermes Shopping subforum and these posts will likely get moved over there.