Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Delivery schedule date getting empty when item is a gift added
Delivery schedule date getting empty when item is a gift added
ID: 586143
Backlog
Published on 5/25/2022
Last update on 11/25/2022

Summary

In the cart that already has a delivery item scheduled and selected, with its address filled in, when arriving at the payment stage and adding a payment method that adds a free gift to the cart and this gift also has scheduled delivery, the user is returned to stage of choosing the scheduled delivery, but the gift ends up "taking" the date that had been previously filled in for the first item. When analyzing the API, the deliveryWindow of this gift remains as null and making it impossible for the user to proceed to the payment step. Since clicking the button nothing happens.

Note: if the user changes the date in the date selection, an update occurs and the deliveryWindow is filled, with that the user is able to go to the payment step.

Simulation

Have a cart with an item with scheduled delivery, fill in your details normally, choose the delivery date, when you get to the payment stage, choose a payment method that adds a gift, the checkout will return to the scheduled delivery date selection stage, so if the user clicks on the proceed button, he will not be able to, only if he changes the date of this gift.

Workaround

N/A

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback