getCurrentItem() retrieves the same ID

Hi guys,

After a wix update the AddCustomItems functions doesnt work anymore.
I needed to find a solution for this and I came up with adding a textbox which needs to be shown for two hardcoded product ID’s. So i added a Dataset to the page:

and used the following code:

$w('#dataset1').onReady(()=>{
    
  let currentItem = $w('#dataset1').getCurrentItem();
  let currentID= String(`${currentItem._id}`);
  console.log(currentID)
  if (currentID == (String('d66bea01c-c54d-400f-a1fc-565e8030bb96')))
  {
        $w('#text90').text = "huurdagen1";
        $w('#text90').show();
    } else if (currentID == (String('d800b407-c1e0-4e74-b307-80466f9e3799')))
    
    {
        $w('#text90').text = "huurdagen2";
        $w('#text90').show();
    } else $w('#text90').hide();
})

The current problem I am having is that it keeps returning the same ID when I open various products.
When I remove all other lines from the dataset and leave it with just the two I used hardcoding, it still gives back always the same ID.
It keeps returning d800b407-c1e0-4e74-b307-80466f9e3799 also when I put this in the first If statement.

I also tried to change the data set to wix-stores/products. The same issue occurs here only it keeps retrieving a different product.

I hope i can get some advice on the post.

With kind regards,
Steve