How to add extra fields to an artist's product page for class signups?

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?

@HermetikosMedia ,

There are lots of customization possible within Shopify like conditional rendering of button and adding a different href. Decide what you want to achieve.

Hi,

If you are open to using an App, we support class bookings in BookThatApp. To set this up with our App you would use 2 variants on the product. One variant is for when the product is being purchased. The other variant is for the class option. When the Buy variant is chosen the class list is hidden. When the class variant is chosen the list of upcoming classes is displayed which includes how many places are still available for each date. The chosen date is saved as a line item property in the order.

We have a free trial you can use to see if your client would like to use it. If you need a hand setting it up we’d be glad to help - just drop us an email at support @ zetya.com.

HTH, Gavin.