How to emit event to header component from Product detail page

Hi,

In this page, there is a popup for More Sellers. Once we open that popup, we have a edit pincode option.When we click on it, we need to open, edit pincode from header deliver to section

How to handle it?

I am not able to emit event to header component from more sellers popup component in PDP

On clicking

Should open

Those components are unrelated, so you can’t able use emit event between them,
To pass the data between unrelated components we have two option,

  1. vuex its similar like redux concept,
  2. Event Bus method with using of this we can able to pass data across the components.