Skip to content

fix: Pickup Point ID that IS expects - #2916

Merged
lariciamota merged 1 commit into
feat/delivery-promise-1.2from
fix/pickup-in-point-id-is
Jun 23, 2025
Merged

lariciamota merged 1 commit into
feat/delivery-promise-1.2from
fix/pickup-in-point-id-is

Conversation

@lariciamota

@lariciamota lariciamota commented Jun 23, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

When filtering by pickup in point no results were being returned. It was due to the pickup point ID format we were sending to IS.

How it works?

Checkout returns <seller>_<pickupppoint_id> as the Pickup Point ID when we use the Checkout's API for Pickup Points.
IS expects the Pickup Point ID to be <account>_<pickuppoint_id> or the Checkout format <seller>_<pickupppoint_id>. It doesn't expect it to be like we're sending (<account>_<seller>_<pickuppoint_id>).
Therefore, now we'll send to IS as the Checkout sends to us and let IS deal with this format.

How to test it?

If you want to test the core, remember to change discovery.config.default.js to use the vendemo config and also change the hideUnavailableItems to true.
You can also test it using the vendemo previews.
Using a Recife CEP, in a PLP/Search page (example /apparel page), filter by pickup point VTEX Recife - it should return results and not a empty search page.
Screenshot 2025-06-23 at 17 45 56

Starters Deploy Preview

PR

References

@lariciamota lariciamota self-assigned this Jun 23, 2025
@lariciamota lariciamota added the bug Something isn't working label Jun 23, 2025
@codesandbox-ci

Copy link
Copy Markdown

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
lariciamota marked this pull request as ready for review June 23, 2025 20:59
@lariciamota
lariciamota requested a review from a team as a code owner June 23, 2025 20:59
@lariciamota
lariciamota requested review from emersonlaurentino, gabpaladino, hellofanny and lucasfp13 and removed request for a team, emersonlaurentino and gabpaladino June 23, 2025 20:59
@lariciamota
lariciamota merged commit 58594d8 into feat/delivery-promise-1.2 Jun 23, 2025
@lariciamota
lariciamota deleted the fix/pickup-in-point-id-is branch June 23, 2025 21:01
lariciamota added a commit that referenced this pull request Jun 23, 2025
## What's the purpose of this pull request?

When filtering by pickup in point no results were being returned. It was
due to the pickup point ID format we were sending to IS.

## How it works?

Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID
when we use the Checkout's API for Pickup Points.
IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the
Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be
like we're sending (`<account>_<seller>_<pickuppoint_id>`).
Therefore, now we'll send to IS as the Checkout sends to us and let IS
deal with this format.

## How to test it?

If you want to test the core, remember to change
`discovery.config.default.js` to use the `vendemo` config and also
change the `hideUnavailableItems` to `true`.
You can also test it using the `vendemo` previews.
Using a Recife CEP, in a PLP/Search page (example `/apparel` page),
filter by pickup point `VTEX Recife` - it should return results and not
a empty search page.
<img width="1499" alt="Screenshot 2025-06-23 at 17 45 56"
src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98"
/>

### Starters Deploy Preview

- Preview without the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/
- Preview with the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/

[PR](dp-faststore-org/vendemo-dp#37)

## References

- [Slack
thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota added a commit that referenced this pull request Jul 2, 2025
## What's the purpose of this pull request?

When filtering by pickup in point no results were being returned. It was
due to the pickup point ID format we were sending to IS.

## How it works?

Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID
when we use the Checkout's API for Pickup Points.
IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the
Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be
like we're sending (`<account>_<seller>_<pickuppoint_id>`).
Therefore, now we'll send to IS as the Checkout sends to us and let IS
deal with this format.

## How to test it?

If you want to test the core, remember to change
`discovery.config.default.js` to use the `vendemo` config and also
change the `hideUnavailableItems` to `true`.
You can also test it using the `vendemo` previews.
Using a Recife CEP, in a PLP/Search page (example `/apparel` page),
filter by pickup point `VTEX Recife` - it should return results and not
a empty search page.
<img width="1499" alt="Screenshot 2025-06-23 at 17 45 56"
src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98"
/>

### Starters Deploy Preview

- Preview without the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/
- Preview with the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/

[PR](dp-faststore-org/vendemo-dp#37)

## References

- [Slack
thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
hellofanny pushed a commit that referenced this pull request Jul 2, 2025
## What's the purpose of this pull request?

When filtering by pickup in point no results were being returned. It was
due to the pickup point ID format we were sending to IS.

## How it works?

Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID
when we use the Checkout's API for Pickup Points.
IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the
Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be
like we're sending (`<account>_<seller>_<pickuppoint_id>`).
Therefore, now we'll send to IS as the Checkout sends to us and let IS
deal with this format.

## How to test it?

If you want to test the core, remember to change
`discovery.config.default.js` to use the `vendemo` config and also
change the `hideUnavailableItems` to `true`.
You can also test it using the `vendemo` previews.
Using a Recife CEP, in a PLP/Search page (example `/apparel` page),
filter by pickup point `VTEX Recife` - it should return results and not
a empty search page.
<img width="1499" alt="Screenshot 2025-06-23 at 17 45 56"
src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98"
/>

### Starters Deploy Preview

- Preview without the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/
- Preview with the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/

[PR](dp-faststore-org/vendemo-dp#37)

## References

- [Slack
thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota added a commit that referenced this pull request Jul 24, 2025
## What's the purpose of this pull request?

When filtering by pickup in point no results were being returned. It was
due to the pickup point ID format we were sending to IS.

## How it works?

Checkout returns `<seller>_<pickupppoint_id>` as the Pickup Point ID
when we use the Checkout's API for Pickup Points.
IS expects the Pickup Point ID to be `<account>_<pickuppoint_id>` or the
Checkout format `<seller>_<pickupppoint_id>`. It doesn't expect it to be
like we're sending (`<account>_<seller>_<pickuppoint_id>`).
Therefore, now we'll send to IS as the Checkout sends to us and let IS
deal with this format.

## How to test it?

If you want to test the core, remember to change
`discovery.config.default.js` to use the `vendemo` config and also
change the `hideUnavailableItems` to `true`.
You can also test it using the `vendemo` previews.
Using a Recife CEP, in a PLP/Search page (example `/apparel` page),
filter by pickup point `VTEX Recife` - it should return results and not
a empty search page.
<img width="1499" alt="Screenshot 2025-06-23 at 17 45 56"
src="https://github.com/user-attachments/assets/511231be-e3b8-40d2-8c42-70fe035b4c98"
/>

### Starters Deploy Preview

- Preview without the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-9qgb9e563.b.vtex.app/
- Preview with the fix -
https://vendemo-cm9sir9v900u7z6llkl62l70j-1kljpmw47.b.vtex.app/

[PR](dp-faststore-org/vendemo-dp#37)

## References

- [Slack
thread](https://vtex.slack.com/archives/C069YM7R73P/p1750701754802599)
lariciamota added a commit that referenced this pull request Jul 28, 2025
## What's the purpose of this pull request?

Feature branch for the Delivery Promise feature - phase 1.2 (filters by
shipping method).

- #2803 
- #2826
- #2845
- #2847 
- #2851
- #2852 
- #2847
- #2872
- #2886
- #2909
- #2916 
- #2918 
- #2922 
- #2887 
- #2944 
- #2953 
- #2956 
- #2955 
- #2961 
- #2962 

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

- [Jira epic](https://vtex-dev.atlassian.net/browse/SFS-2038)

## Checklist

**Documentation**

- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)

---------

Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
Co-authored-by: Otavio Moreira Meirelles <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants