How can I create a smart rule for matching poster and frame sizes?

Hi team,

Any idea or app which would allow me to create this ‘‘smart’’ ruled option?

So when the poster size is selected (ex: 70cmx100cm), the frames thumbnails are connected to the same sizes and allow me to choose from all frames available but same poster size (poster : 70cmx100cm and frame size 70cmx700cm)

So when I change poster size, the frame sizes adjusts so customer order always the right size?

I have tried loads of apps but I haven’t found anything yet so far which allow this feature.

Many thanks,

Anne