I am in talks with a client about a new site. They’re an artist looking to sell their art on their site, however, they also teach. They were hoping to have a UI that would give customers a button to either buy the item, or a button that would take them to a sign up page for a class on how to make similar pieces. My thoughts were to somehow add a field to the product page which would allow the client to specify the corresponding class’ product page, and use Liquid templates conditionally render the button pointing to the class, if there is a corresponding class available. However, I’m not sure how to go about doing this.
I’ve found documentation for meta fields (which I am familiar with from my WordPress background). It also looks like there may be a way to use “Recommended Products” to do this. However, I’m relatively new to Shopify development and am not quite sure if either of these are a good solution for my problem, or if there are even better options available. So, any input?