Trying to open a related item in a quick view modal, but when doing so the pdp model of the underlying page updates the image gallery (the model on change triggers). If you close the modal the image gallery is from the item that was opened in the modal. Is it possible to cancel that model update when opening a modal on the same page via extension?
k
Kearobi
02/19/2021, 4:44 PM
I imagine the QuickView and the PDP have the same model. I can for sure confirm you can call a modal from the PDP though.
k
kkennedydesign
02/19/2021, 5:05 PM
Yeah - I can call the modal from the PDP, but the problem is that the image gallery in the background updates to the same image gallery thats in the modal window.
k
Kearobi
02/19/2021, 9:32 PM
Hmm.. you may need to re-set the model with the original item on close of the modal.
k
kkennedydesign
02/19/2021, 9:35 PM
well the issue there is you can sorta see the images sometimes behind the modal - they are not completely covered on large screens. Thinking maybe I could cancel that onchange function for the modal open