This question is actually for a new purchase and not the one I see listed above when I post the question. I provided the new website link in the private details. Purchase code can be shared if you need it.
We have a custom post type for our products. Three fields on this page that are relevant to this question are the (1) SKU and the (2) product name and (3) link to a warranty in the form of a PDF. To note – we are storing the ID Of the PDF attachment since the relationship of warranties to products is 1 to many.
What we want to do is allow a user to type in a SKU or product name into the search bar and then the results will show the product name and image – but instead of linking to the Product custom post or page itself, we want it to link directly to the PDF of the warranty.
I see where you can use a custom structure to link to user search – but not sure how to do the same with a regular search?
I can provide login information if needed.