Tom Lambert
Tom Lambert
Try as I might, I can't get this to function on non-product pages. All the code is in theme.liquid, so it's on every page, but the actually recently viewed products...
When using this script, the image URL is generated as //cdn.shopify.com/s/files/1/0642/0537/products/100_4774_medium.JPG which is broken. If I'm on the product page, the image URL (correct) is //cdn.shopify.com/s/files/1/0642/0537/products/100_4774.JPG.w560h847_medium.jpg?v=1409808948
.simplemodal-container is the same height as simplemodal-wrap, but that means that if the CSS applies margin, borders or padding and you have long content that scrolls, the modal is bigger...