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
When setting sales channels in middleware (req.query) a store/products 'GET' does not filter by those sales channels, however when sales channels are set in the original query at the users request, rather than in middleware, it DOES filter by those IDs. Believe our MW might be being called too late.
Reproduce : Only if not already done; npm run seed
Then npm run b2b-seed
This should leave you with
some products starting priv - attached to a new B2B sales Channel.
A B2B 'customer'
A B2B customer Group
Now Link the customer group to the sales channel
Then you can run npm run test
The text was updated successfully, but these errors were encountered:
MP70
changed the title
Medusa issue? - setting sales channels in middleware (req.query) does not filter by those IDs, however when set in or
Medusa issue? - setting sales channels in middleware (req.query) not respected.
Nov 20, 2023
When setting sales channels in middleware (req.query) a store/products 'GET' does not filter by those sales channels, however when sales channels are set in the original query at the users request, rather than in middleware, it DOES filter by those IDs. Believe our MW might be being called too late.
MW injects like this
Reproduce :
Only if not already done;
npm run seed
Then
npm run b2b-seed
This should leave you with
Now Link the customer group to the sales channel
Then you can run
npm run test
The text was updated successfully, but these errors were encountered: