Announcement

Collapse
No announcement yet.

Different Bouce Delay for Add-to-Cart and PSP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Different Bouce Delay for Add-to-Cart and PSP

    Whan a product is added to cart I want the shopping cart page to stay up until the user decides to checkout or to continue shopping - so I have set the bounce delay to 0.

    I also however want a 1 second bounce delay before going to the PSP but the bounce delay setting affects both.

    Is there a way to have them different?

    I have seen this done on v7 but I don't know how it was achieved.

    #2
    I think I recall a similar questions ages ago.
    Will have a go at finding it, when I'm next at my computer (unless someone else has a solution first, of course!)
    Tracey

    Comment


      #3
      Hi Duncan

      Try this. Select Bounce Page from the Select Page Type list on the Design tab, and double click JavaScriptfunctions in the Overall Page layout.

      You will find :

      Code:
      <script language="JavaScript" type="text/javascript">
              <!--
              function onLoad()
              {
              document.formOCC.submit();
              }
              // -->
              </script>
      Replace this with :

      Code:
      <script language="JavaScript" type="text/javascript">
              <!--
              function onLoad()
              {
              setTimeout("document.formOCC.submit()",3000)
              }
              // -->
              </script>
      where 3000 is in milli-seconds, so in effect a 3 seconds delay. You can alter this according to the delay you require.

      Hope this helps.
      Krithika Chandrasekar
      SellerDeck

      sigpic

      E-commerce software by SellerDeck

      Comment


        #4
        Thanks Krithika - will give that a go.

        Comment


          #5
          found the post I was thinking of...wasn't quite the same as your Q and so not relevent (had forgotten til Krithika replied!)
          Tracey

          Comment

          Working...
          X