Help me figure this out with Element Click

I've been using a web scraper for a while now, but I can't solve the problem of extracting data under certain conditions. For example, on this site, and if I come across similar things on other sites, I'll have the same problem. I won't need other programs anymore.
For example, the product card at the link. Yes, the company I work for is an official dealer of this brand.

I need to extract it. In green on the screenshot.

  1. Product name
  2. Product price
    The data needs to be extracted after switching. Highlighted in red.
    Please help me figure this out! I've already wasted many hours.

Hi

In the case the page URL is reloaded after selecting a variant, the pagination selector can be used to extract variant data. Please see the reference below:

{"_id":"robbeberking","startUrl":["https://robbeberking.com/12-Menuegabel-925-Sterlingsilber/07203005"],"selectors":[{"id":"variant-switch","paginationType":"linkFromRedirect","parentSelectors":["_root","variant-switch"],"selector":".product-detail-configurator-option input","type":"SelectorPagination"},{"id":"title","multiple":false,"multipleType":"singleColumn","parentSelectors":["variant-switch"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"price","multiple":false,"multipleType":"singleColumn","parentSelectors":["variant-switch"],"regex":"","selector":".justify-content-end span","type":"SelectorText"}]}

And if there are several sets of variants, the pagination selectors have to be nested within each other:

{"_id":"robbeberking2","startUrl":["https://robbeberking.com/12-Menuegabel-150g-massiv-versilbert/07202005","https://robbeberking.com/Metropolitan-Serviettenring-925-Sterlingsilber-teilvergoldet/07333019"],"selectors":[{"id":"variant-switch","paginationType":"linkFromRedirect","parentSelectors":["_root","variant-switch"],"selector":"div.product-detail-configurator-group:nth-of-type(1) label","type":"SelectorPagination"},{"id":"title","multiple":false,"multipleType":"singleColumn","parentSelectors":["variant-switch2"],"regex":"","selector":"h1","type":"SelectorText"},{"id":"price","multiple":false,"multipleType":"singleColumn","parentSelectors":["variant-switch2"],"regex":"","selector":".justify-content-end span","type":"SelectorText"},{"id":"variant-switch2","paginationType":"linkFromRedirect","parentSelectors":["variant-switch","variant-switch2"],"selector":"div.product-detail-configurator-group:nth-of-type(2) label","type":"SelectorPagination"}]}

I've never used "link from any script" from "pagination" before, but it works!!! Thank you so much.