New Wix Store product window

Hello, help to solve a problem. I created a database and connected it to the Wix Store (Products). Next, I want each dynamic product page to open in a new window. To do this, I use the code:

$$V. onReady (function () {
$w(“#button1”).target = “_blank”;
});

However, items still open in this window. Please help in solving this issue.

$$V. onReady (function () { // what is $$V?
https://www.wix.com/corvid/reference/$w.html#onReady

$w.onReady(function () {

Also, have you read about using link and target? https://www.wix.com/corvid/reference/$w.LinkableMixin.html

Also Wix Location too.
wix-location-frontend - Velo API Reference - Wix.com

Finally, have you looked through Wix Support’s own pages for Wix Stores already?
Setting up your store | Help Center | Wix.com
Wix Stores with Velo | Help Center | Wix.com
Wix Stores: Linking a Button to a Specific Product Page | Help Center | Wix.com