Help with the product path shown in the shop page (Home>Shop>Whatever>this)

Hi all!

In the shopkeeper child theme, when a product is put into 2 categories, is there a way to choose which one to appear in the path to the product (the one shown in the top left corner: Home>Shop>Whatever>this)? Greentings from Portugal. Many thanks in advance.