-
Notifications
You must be signed in to change notification settings - Fork 38
feat(VCST-3983): product and cart pickup locations #1971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(VCST-3983): product and cart pickup locations #1971
Conversation
…tCartPickupLocationsQuery
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds product and cart pickup location functionality, implementing a shipment options sidebar on product pages and pickup availability information in cart pickup location lists and maps.
- Adds new pickup location support with availability information for both product and cart contexts
- Introduces XPickup module integration with feature toggle support
- Updates BOPIS (Buy Online Pickup In Store) implementation to use new cart-based pickup location queries
Reviewed Changes
Copilot reviewed 37 out of 39 changed files in this pull request and generated 9 comments.
Show a summary per file
File | Description |
---|---|
locales/*.json | Adds translation keys for shipment options and availability information |
client-app/shared/x-pickup/composables/useXPickup.ts | New composable for XPickup module feature detection |
client-app/shared/common/components/pickup-availability-info.vue | New component for displaying pickup availability status with styling |
client-app/shared/checkout/composables/useBopis.ts | Refactored to use cart-based pickup locations with availability data |
client-app/shared/checkout/composables/useBopis.test.ts | Updated tests for refactored BOPIS implementation |
client-app/shared/checkout/components/*.vue | Updated checkout components to show availability info and integrate XPickup toggle |
client-app/shared/catalog/composables/useProductPickupLocations.ts | New composable for fetching product-specific pickup locations |
client-app/shared/catalog/components/product-pickup-locations.vue | New component for product page pickup location display |
client-app/shared/cart/composables/useCartPickupLocations.ts | New composable for cart-specific pickup location queries |
client-app/pages/product.vue | Integrates pickup locations display on product pages |
client-app/core/api/graphql//queries/ | Adds new GraphQL queries for product and cart pickup locations, removes old shipment queries |
client-app/core/constants/modules.ts | Adds XPickup module constants |
client-app/core/types/addresses.ts | Extends address types with pickup location properties |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
client-app/shared/catalog/components/product-pickup-locations.vue
Outdated
Show resolved
Hide resolved
client-app/shared/catalog/components/product-pickup-locations.vue
Outdated
Show resolved
Hide resolved
...api/graphql/catalog/queries/getProductPickupLocations/getProductPickupLocationsQuery.graphql
Outdated
Show resolved
Hide resolved
client-app/shared/checkout/components/select-address-map-modal.vue
Outdated
Show resolved
Hide resolved
client-app/shared/common/components/pickup-availability-info.vue
Outdated
Show resolved
Hide resolved
…tps://github.com/VirtoCommerce/vc-frontend into feat/VCST-3983-product-and-cart-pickup-locations
|
Description
In Product page, sidebar block with shipment (pickup) options added:
In Cart page, pickup availability information added in pickup locations list and map:
References
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-3983
Artifact URL:
https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.33.0-pr-1971-3365-3365c83f.zip