Check for SKU before ID when setting up the [purchase_link] short code. We have to check for SKU first because the ID defaults to the current post ID, so it is always present. Closes #2666