Obtenez la valeur locale de PHP

  $myvar = "<script> localStorage.getItem('productinfo')['s3_url']</script>";
Rht