Quick View/Shop on Collection page with BuyButton.js?
Closed this issue · 2 comments
ajmalafif commented
Is this generally a good idea or there's actually a better idea like loading a product page in a modal instead?
Not expecting a hand-guiding tutorial but appreciate some pointers. I'll share the solution here if I get there first, somehow.
cshold commented
The only way I've attempted to do this is with ajax via load
:
var productDiv = productUrl (from href or data attribute) + product div (like `.product-wrapper`)
$('#Modal').load(productDiv, function(data) {
// do stuff
});