Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countdown promotion not displayed in list-context #12

Open
SpanacheNarcis opened this issue Oct 19, 2021 · 0 comments
Open

Countdown promotion not displayed in list-context #12

SpanacheNarcis opened this issue Oct 19, 2021 · 0 comments

Comments

@SpanacheNarcis
Copy link

SpanacheNarcis commented Oct 19, 2021

Describe the bug
Using a custom app, promotion countdown, we are trying to display the countdown promotions in shelves and product page.

The custom app that displays the countdown is using product-context and from that it tries to get the promotion from product > items > sellers > commertialOffer > discountHighlights / teasers arrays

For some reason, in the list-context those are not set properly
On the search page and product page, the product-context returns the promotion name in discountHighlights which is then used to identify the promotion and display the countdown and description

To Reproduce
Steps to reproduce the behavior:

  1. Enter with an business account (that has aaproved=true in entity CL(Clients) in master data).

  2. Go to https://nhighlight--vetrob2c.myvtex.com/ and scroll to "Ofertele săptămânii" or "Cele mai noi produse" section and you ll see the shelves without the countdown promotion

  3. Go to a search page or product page, eg: https://nhighlight--vetrob2c.myvtex.com/vectra%203d%20dog?_q=vectra%203d%20dog&map=ft and you ll see the products with the countdown promotion

Expected behavior

The countdown promotion should be displayed the same way as in search page or product page in list-context.

Screenshots
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant