Menu
Feedback
Start here

Known issues

Known issues
Items with assembly options are shown as unavailable for delivery
Shopping
ID:
Backlog
Published on9/27/2021
Last updated on12/22/2022
1 min read

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
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback