Hello,
I’ve spent way to much time on this today so thought I would ask.
Ultimately I am looking to grab the product_id from the current URL and use it to run a DB Query.
EXAMPLE URL:
http://localhost:3000/pages/edit-product?product_id=5555
EXAMPLE WANT TO EXTRACT PRODUCT ID: 5555
window.location.href
Above will grab the URL but I can’t figure out how to get that to actually work on the wappler side to set the Variable.
Any help on this would be greatly appreciated as it seem so simple but I’ve wasted numerous hours trying to figure this out now.
Thanks!
Community Page
Last updated:
Last updated: