Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Known issues
Gift items throws a generic exception if it has no price
Gift items throws a generic exception if it has no price
ID: 510490
No Fix
Published on 5/12/2022
Last update on 2/16/2024

Summary

Selecting a gift item in the cart will throw a generic exception if it has no price, especially if the store uses an external tax service. The customer can't go ahead selecting it.

Since the price is a requirement, the expected behavior is that the item/gift shouldn't be offered.

Simulation

  • to register a new item or to update it to be without price
  • to create a gift promotion offering this item
  • to create a cart where the item will be offered
  • try to select the gift; an error will be presented

Workaround

To register a price, which is a requirement for every item that will be active and sold, even as a gift.

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