get item id / Requesting a quote based on the dynamic page

Thanks for replying, here is the code now:

import { session } from 'wix-storage';
import wixLocation from 'wix-location';

$w.onReady(function () {

 $w(“#addbutton”).onClick((event) => {
 let itemObj = $w(“#lighting”).getCurrentItem();
session.setItem("product", theProduct); //This line saved the product ID into session storage
   })
   .then(() => {
    wixLocation.to("/selection");  //This line redirects you to the page with the request form
   })
   .catch((error) => {
    console.log(error);
   });
 });

});

Am I still correct to have (“product”, theProduct) or will they need to be redefined?