Menu
Feedback
Start here

Known issues

Known issues
<vtex.cmc ProductGifts/> does not work before acessing checkout
Catalog
ID: 1029719
Backlog
Published on5/8/2024
Last updated on5/8/2024
1 min read

Summary

Currenlty, the <vtex.cmc ProductGifts> legacy controller doesn't load the expected gifts before an user first accesses a store's checkout.

In other words, it is necessary to first go to the cart for the gifts to properly render on the checkout and then, in this given session, the user would have to return to the product page for these gifts to be exhibited in the controller.

Simulation

1 - Create a product page using the <vtex.cmc ProductGifts> controller. 2 - Create a Buy One, Get One promotion to lead the related gifts. 3 - Load the product page, no gifts will be rendered. 4 - Go to the checkout page and the gifts will load. 5 - Return to the product page and then the gifts will be loading in the product page.

Workaround

Use other cross selling controllers to customize and display items as gifts, such as similar, suggestions and accessories

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