I added a site plugin on the product details page on wix blocks, how do i access the product Id
import wixData from 'wix-data';
$w.onReady(function () {
// Initialize your plugin code here. Make sure that your plugin has the required Plugin API properties to communicate with the plugin slot.
});
$widget.onPropsChanged((oldProps, newProps) => {
// Handle changes to plugin property values here.
console.log(oldProps);
console.log(newProps);
});