Menu
Feedback
Start here


Known issues
Items in benefits not generated in promotions with collections associated
ID: 985850
Backlog
Published on 2/21/2024
Last update on 2/21/2024

Summary

When having a promotion with products/skus associated through a collection, the productContext isn't prepared to create the items array inside benefits associated with the products of the collection

Simulation

  • Create a promotion
  • Associate the products for this promotion through a collection
  • Open one of the products that should have a promotion
  • Open your browser's console
  • Check on your React Dev Tools extension for productContextProvider
  • Open benefits.items, it will be empty or with the sku with the same id of the collection

Workaround

The only possible way to have benefits.items filled is filling all skus associated with the promotion instead of a cluster/collection

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