top of page

Forum Posts

rafaelhug
Jun 11, 2018
In Coding with Velo
Hey there guys, I want to add a function to a Button on my Product-Page to GOTO the last visited Page. Idea: - Create Button on Product-page "buttonZurueck" visitedUrl = current visiting baseUrl + urlPath (except it is a "product-page" url) - bind GOTO function with visitedUrl to "buttonZurueck" Pseudo-Code: (onPageLoad?) if (urlPath != product-page) { let visitedUrl = wixLocation.baseUrl + wixLocation.path; } elementZurueck = document.getElementById(buttonZurueck); bind on buttonZurueck function to (url: visitedUrl) I have problems reaching the "buttonZurueck" as well as with the function to. Any help would be much appreciated! Best Regards Rafael
1
2
488

rafaelhug

More actions
bottom of page