Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Items with assembly options are shown as unavailable for delivery
Items with assembly options are shown as unavailable for delivery
ID:
Backlog
Published on 9/27/2021
Last update on 12/22/2022

Summary

When items with assembly options are added to the cart, they are shown to the customer as unavailable for delivery until the shipping cost is calculated.

This is because the orderForm – the data structure corresponding to the cart – is missing information in the logisticsInfo.deliveryChannel field.

When an address is entered and the shipping cost is calculated, the items no longer are shown as unavailable for delivery.

Simulation

To perform this simulation, you need to have an item with assembly options in your store catalog.

  1. In the store, add an item with assembly options to the cart;
  2. Add the assembly option to the item;
  3. Notice that the item is shown as unavailable for delivery;
  4. Enter an address and calculate shipping costs;
  5. Notice that the item is shown as available for delivery.

Workaround

To work around the problem, you can hide the message that is displayed before an address is entered. This option is available under the ".shp-alert-shipping-unavailable" selector, but you must check if the message may be necessary in other scenarios, such as when the item has no delivery option, only pickup.

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