Wix Store Product Page Search

Hello!

I’m not much of a coder but am looking to do the following -

I have a search bar set up as follows:


When entering the name of a bag (e.g. DK622), and then click the search button, I’m trying to get it to load that specific product page.

I get the following load currently:


The code I have used is:

import {local} from 'wix-storage';

import wixLocation from 'wix-location';

 

$w.onReady(function () {

});

 

export function searchButton_click() {

 let word = $w("#searchBar").value;

    local.setItem("searchWord", word);

    wixLocation.to(`/product-page/"searchWord"`);

}

Does anyone have any ideas of how I can correct this so it works please? Thank you.