Menu
Feedback
Start here

Known issues

Known issues
“shippingValue” ViewPart incorrectly displays delivery times in hours
Marketing & Merchandising
ID:
Backlog
Published on9/9/2019
Last updated on12/22/2022
1 min read

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
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