Go to previous page button

Hi, I need help to code a button that have the exact same function as the previous button on any browser but I would like to have a wix button that does the same.
Thank you

Hi,

Ok, the main idea is to store the current page URL in a Session, then when going to a new page, let the previous page = current page & current page = the new page URL.
***** on Button click, use wixlocation.to(previousPage)

Here is the documentation for the session - Here and for the wixLocation - Here

Best,

Mustafa

hi mustafa and thank you for your answer but my basics in coding are really far in my head if you could copy paste the code segment with a button name “button8” i would really appreciate it thanks

Hi,
Unfortunately we are not able to code your Wix site on your behalf,
You can hire an expert in Wix Arena .
Roi.