Skip to content

Challenge not working on any page (home, search, product) #33

@doruradu

Description

@doruradu

Describe the bug
It seems that the challenge.trade-policy-condition is not redirecting to the login page. It weird because we have sa same code on another account and it is working fine there.

To Reproduce
Steps to reproduce the behavior:

  1. Access https://finefood.myvtex.com/?__bindingAddress=finefood.myvtex.com/b2b/
  2. The page should redirect to /login-horeca but the salesChannel is not being updated.

Expected behavior
Home, search or product page should redirect to /login-horeca

Screenshots
{
"store.home": {
"blocks": [
"slider-layout#home-images",
"flex-layout.row#recommended-categories-wrapper",
"flex-layout.row#recommended-products-wrapper",
"flex-layout.row#moving-products",
"flex-layout.row#newsletter-homepage",
"flex-layout.row#home-blog-wrapper"
],
"parent": {
"challenge": "challenge.trade-policy-condition#horeca"
}
},
"challenge.trade-policy-condition#horeca": {
"props": {
"redirectPath": "/login-horeca",
"defaultContentVisibility": "hidden"
}

I have used this block on other accounts... it just won't work for this one. I don't know what to do :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions