Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
“shippingValue” ViewPart incorrectly displays delivery times in hours
“shippingValue” ViewPart incorrectly displays delivery times in hours
ID:
Backlog
Published on 9/9/2019
Last update on 12/22/2022

Summary

The <vtex.cmc:shippingValue/> ViewPart, which can be used on the product page to calculate the shipping value and delivery times, incorrectly displays the hours and minutes of such deadlines.

For example: a carrier called "Express", having a delivery time of up to 4 hours, will display the following text:

Express Shipping, delivery to ZIP code XX in up to 4 days.

Simulation

  • Access any product page that uses this ViewPart.
  • Have a product whose delivery time is calculated in minutes or hours
  • Calculate the delivery time using this component
  • Check the result

Workaround

This component must be considered obsolete.

At present, we recommend manually calculating shipping and delivery using Checkout's cart simulation API.

In addition, you may also use this API through the "vtex.js" Javascript library.

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