Skip to content

chore: Pickup All config - #2852

Merged
ommeirelles merged 7 commits into
feat/postal-code-edit-slideoverfrom
chore/pickup-all-config
May 22, 2025
Merged

ommeirelles merged 7 commits into
feat/postal-code-edit-slideoverfrom
chore/pickup-all-config

Conversation

@lariciamota

@lariciamota lariciamota commented May 19, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

In the PLP filters, the option for delivery method "pickup anywhere" should only be displayed when the store has configured it to be shown.

How it works?

It'll be configurable through hCMS and its default is false. We'll recommend to enable it for B2B stores.

How to test it?

You can change the config through the hCMS, it is in the Global Sections > Settings tab:
Screenshot 2025-05-19 at 15 21 14

In the preview you should see the Pickup all filter (remember to set a postal code to see the filters) in the PLP only if the config is true.

False

https://vendemo-cm9sir9v900u7z6llkl62l70j-7cu2o2niz.b.vtex.app/

Desktop Mobile
Screenshot 2025-05-19 at 20 57 35 Screenshot 2025-05-19 at 20 57 52

True

https://vendemo-cm9sir9v900u7z6llkl62l70j-4s9fqs7hg.b.vtex.app/

Desktop Mobile
Screenshot 2025-05-19 at 21 43 02 Screenshot 2025-05-19 at 21 43 25

Starters Deploy Preview

PR

References

@lariciamota lariciamota self-assigned this May 19, 2025
@lariciamota lariciamota added the enhancement New feature or request label May 19, 2025
@codesandbox-ci

codesandbox-ci Bot commented May 19, 2025 •

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.

"default": "Apply"
}
}
},

@lariciamota lariciamota May 19, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've decided to remove it already because, since it was introduced only on feat/delivery-promise-1.2 (and is not on main), this removal won't be a breaking change.

},
"deliveryCustomLabels": {
"title": "Filter options labels",
"deliveryMethods": {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made this change because it isn't only for labels anymore and it's related to delivery methods

@lariciamota
lariciamota marked this pull request as ready for review May 19, 2025 17:38
@lariciamota
lariciamota requested a review from a team as a code owner May 19, 2025 17:38
@lariciamota
lariciamota requested review from eduardoformiga and ommeirelles and removed request for a team May 19, 2025 17:38
@lariciamota
lariciamota marked this pull request as draft May 19, 2025 18:27
@lariciamota
lariciamota marked this pull request as ready for review May 20, 2025 00:45
@lariciamota
lariciamota force-pushed the feat/postal-code-edit-slideover branch from 6116ba5 to 8ba9bda Compare May 20, 2025 13:03
@lariciamota
lariciamota force-pushed the chore/pickup-all-config branch from 14c9c97 to 151a546 Compare May 20, 2025 13:07
@lariciamota
lariciamota force-pushed the chore/pickup-all-config branch from 151a546 to 83a263c Compare May 20, 2025 22:44
Applying suggestions made by Fanny

Co-authored-by: Fanny Chien <[email protected]>
@ommeirelles
ommeirelles merged commit bed584d into feat/postal-code-edit-slideover May 22, 2025
@ommeirelles
ommeirelles deleted the chore/pickup-all-config branch May 22, 2025 17:59
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

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants