Closed lucvysk closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
faststore-site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 8, 2024 6:45pm |
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
What's the purpose of this pull request?
Makes the sku selector follow the order of the admin
How it works?
Same adjust was done while ago to IO! The code needs to validates if it's number prior sorting this. For example, if you sort
a - b
for sizes, you will have different orders, mostly thinking in cross language.e.g, sorting sizes in PT:
G - M - P
Commit in IO: https://github.com/vtex-apps/store-components/blob/2fe597cf00b0d2968487189f99ccaf80b73e5da6/react/components/SKUSelector/components/SKUSelector.tsx#L247
How to test it?
This product: admin / IO / stable / fast.
After fix: