How to display products that have referenced current metaobject?

The scenario

(Dawn theme)

I’m working on an artist website where I want to display artwork and products separately, but have them link to each other when a piece or art is used for a product.

I have created the metaobject “artwork”, where each entry is a piece of art complete with a title, image, and description. This allows each piece of artwork to have it’s own page while being able to dynamically display them on a “gallery” page.

I have created the metafield “artwork” under products that references the metaobject. When I’m editing a product, this let’s me select the artwork that’s related to the product. Once I do that I can then use dynamic content to display the related artwork on the product page.

What I’m looking for

On the page of each piece of art, I’d like to be able to dynamically list any/all products that have referenced the current piece of art.

I know I can create create a metafield for the metaobject and manually reference each related product to an artwork entry, but I’m trying to avoid all that extra work. Isn’t there a way to dynamically display any/all products that have already “referenced” the current piece of art?

To clarify, let’s say I have a piece of art and a t-shirt in my store with said piece of art on it. I want people to see (and be able to click on) the original art from the product page AND be able to see any products of the art from the artwork page. Since multiple products can use the same piece or art, it’s ideal if I can just select the related piece of art from the product page, and NOT have to select all the related products from the artwork page.

Any help is much appreciated!

@lanedemoll

Wonder if you are still looking for a solution for the page made from the metaobject ‘artwork’ and related products associated with that ‘artwork’.

If you do, you can check out the Posstack Easy Content Builder app to implement that.
(Disclaimer: I am from the team behind this app)

Here are the steps:

  1. Create a metaobject definition (for your ‘Artwork’)
  2. Create a new page and entries for the Artwork metaobject associated with that page.
  3. Display the ‘artwork’ metaobject on the storefront using the Easy Content Builder app.

If you want to try it, I will provide a more detailed guideline.

Meanwhile, here’s an example of an Artist page created with Metaobject and our Easy Content Builder app (on the Dawn theme):

Regards,

Annt

Posstack team

Hi @lanedemoll

Instead of using metafield or metaobjects you can list your artwork as a product.

Tag your regular product and artwork products related to each other with unique tags which will have a specific pattern.

That pattern can be used to write logic for showing the products.

It could be complex but achievable.