Repository navigation
feat: Check products availability when setting postal code - #2817
Merged
lucasfp13 merged 5 commits intoApr 30, 2025
Merged
Conversation
|
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. |
lariciamota
reviewed
Apr 30, 2025
lariciamota
left a comment
Contributor
There was a problem hiding this comment.
question: an specific IS app version should be installed on the account, right? Once they've deployed it, could you add this info in our draft doc?
Contributor
lariciamota
approved these changes
Apr 30, 2025
3 tasks
lariciamota
added a commit
that referenced
this pull request
May 8, 2025
## What's the purpose of this pull request? This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. ## How it works? For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. ## How to test it? - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; ### Starters Deploy Preview vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
May 12, 2025
## What's the purpose of this pull request? This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. ## How it works? For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. ## How to test it? - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; ### Starters Deploy Preview vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
May 13, 2025
## What's the purpose of this pull request? Feature branch for the Delivery Promise feature - phase 1 (navigation based on shopper location). - #2708 - #2728 - #2739 - #2745 - #2749 - #2750 - #2768 - #2772 - #2775 - #2809 - #2817 - #2824 - #2835 ## How it works? ## How to test it? ### Starters Deploy Preview ## References - [Jira epic](https://vtex-dev.atlassian.net/browse/SFS-1696) ## Checklist - [ ] For documentation changes, ping `@Mariana-Caetano` to review and update (Or submit a doc request) - [ ] TODO: Request Doc for PopOver - [ ] TODO: Remind to run cms sync in the default account when the feature branch is merged since new section was added. (And add the new section in the admin!) --------- Co-authored-by: Lucas Feijó <[email protected]> Co-authored-by: Fanny Chien <[email protected]>
lariciamota
added a commit
that referenced
this pull request
May 13, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
May 13, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
May 14, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jun 20, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jun 23, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jul 2, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
hellofanny
pushed a commit
that referenced
this pull request
Jul 2, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jul 24, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jul 30, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Jul 30, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Aug 1, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
hellofanny
pushed a commit
that referenced
this pull request
Aug 11, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 2, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 16, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 16, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 18, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 23, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
lariciamota
added a commit
that referenced
this pull request
Sep 30, 2025
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location. For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location. - If there is a testing postal code with no products available you can use it on `RegionModal` or `RegionPopover`; - Or for local environment you can change the condition at `useSetLocation` hook to mock the `no products` scenario; vtex-sites/faststoreqa.store#788 --------- Co-authored-by: Larícia Mota <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What's the purpose of this pull request?
This PR intends to handle the scenario when shoppers are setting postal code and there is no available products for that specific location.
How it works?
For all Delivery Promises scenarios, when shoppers are setting their postal code an input error should be displayed if there is no available products for that location.
How to test it?
RegionModalorRegionPopover;useSetLocationhook to mock theno productsscenario;Starters Deploy Preview
vtex-sites/faststoreqa.store#788