Field inside a popup not looping through in MB View

Support MB Views Field inside a popup not looping through in MB ViewResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46413
    UnakritiUnakriti
    Participant

    Hi Support,

    I have a MB View to display a loop of product cards. One of the elements, called Product Details, is displayed as a popup. Please see the screenshot here - https://imgur.com/a/gky3BJL

    The problem is, the second or the third Product Details errneously shows the information from the first card. Please refer to https://pastebin.com/Kgw4UuM7 to access the client URL and review the implementation.

    MB View Code

    Twig Template - https://pastebin.com/6aM0Bv9g
    CSS - https://pastebin.com/5MSPHiPC
    JavaScript - https://pastebin.com/MxZUaDUr

    Could you please help resolve this implementation of the popup inside the MB View?

    Kind regards,

    #46429
    PeterPeter
    Moderator

    Hello,

    First thing, I see the product details are displayed correctly with the Twig code. So it isn't an issue with MB Views, screenshot https://ibb.co/qJns2Px

    Second, I use the Inspect tool of the browser and see that the popup element ID isn't correct. It has ${id} variable in the HTML ID, screenshot https://ibb.co/tDnSV8W
    you can recheck your code.

    The last thing, is is a custom code and not an issue of the MB Views plugin itself so this case is beyond our scope of support. If you cannot complete the task, we offer a customization service with an extra fee. Please contact us here for more details https://metabox.io/contact/

    #46431
    UnakritiUnakriti
    Participant

    Thanks Peter.

    Appreciate your time to review this.

    Apologies for the trouble.

    You may close this ticket.

    Kind regards,

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.