Relations in the front end

Hey!
I’m trying to link multiple products to a supplier.
In the backend, the relation seems to work.
In the frontend, I was able to display the supplier name (as a button) in the products table.
But still, when I press the supplier name, I’m not getting to the supplier details page.

Here’s a video:

https://www.loom.com/share/020cacc56d2248308acdf319a0d52479?sid=7bfccafe-a189-4c5c-9830-593df460a1b2

It looks like your relation is a multiple relation. If you change it to a single relation, you should be able to configure your action to do Show Details Screen via the relation.

1 Like

mmm… Your’e Right! It works.
But what if the same product has few suppliers…?

Would you duplicate the product then?

In that case, I would use a multiple relation, but instead of showing the supplier details screen, show the product details screen. And then on that screen add another table, using the supplier relation as the source.

2 Likes

Thank you, that worked :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.