product page

medelb7
New Member
6 0 0
hello,
i need someone to help me for my page product  do auto refresh when i click & change in a variant but not in any 5sec do automaticlly refresh.
please this is the code for auto refresh in 5sec, you can upgrate it
i put this is code in product.liquid

<html>

   <head>

     

      <script type = "text/JavaScript">

         <!--

            function AutoRefresh( t ) {

               setTimeout("location.reload(true);", t);

            }

         //-->

      </script>

     

   </head>

  

   <body onload = "Javascript&colon;AutoRefresh(5000);">

      <p>This page will refresh every 5 seconds.</p>

   </body>

  

</html>

Replies 0 (0)