I can remember when my coworker and I were banging our heads against the wall because we were looking at JS Buy SDK documentation trying to figure out why we could not get something to apply in our own project. Some other hired help just happen to comment about our code, and asked why we were using SDK code from 2019.
We said, “uh, no, we’re pulling the code directly from Shopify’s github CDN. Here’s the documentation with the link to their github. Scroll down to the ‘Installation’ section. We were foresaw potential problems if we tried using incomplete versions, so we chose the last option of the unoptimized, but full featured version with all the same properties as the Storefront API.”
“So you guys are using version 2.14.0 right?”
Upon closer inspection, the script tag in the “Installation” section of the JS Buy documentation is version 2.0.1 without any mention of what the current version is or a warning to MAKE SURE YOU UPDATE THE VERSION NUMBER TO THE LATEST. Now we have to try and remember to second guess every piece of info we read.
This could help:
