Announcement

Collapse
No announcement yet.

How do I adjust the Add to cart basket pop-up time

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

    How do I adjust the Add to cart basket pop-up time

    So, the pop-up for the add the basket seems to stay up too long to me. Can anyone tell me how to adjust it?
    Thank you,
    John

    #2
    Re: How do I adjust the Add to cart basket pop-up time

    Hi John,

    To change the time the mini-basket is on the screen after adding an item to your basket, you will need to make an adjustment in your scripts.js file. Around line 528, is where the "AJAX Add To Cart" section starts. Within there, about line 571, you will see a "setTimeout" function. Change the setting from 5000 (5 seconds) to a lower time, say 2000 (2 seconds).
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Re: How do I adjust the Add to cart basket pop-up time

      Originally posted by Matt Zimmermann View Post
      Hi John,

      To change the time the mini-basket is on the screen after adding an item to your basket, you will need to make an adjustment in your scripts.js file. Around line 528, is where the "AJAX Add To Cart" section starts. Within there, about line 571, you will see a "setTimeout" function. Change the setting from 5000 (5 seconds) to a lower time, say 2000 (2 seconds).

      Appreciate it. That's a lot better. I went with 3 seconds, because it does need to display long enough to read and click, but 5 seconds seemed like forever after you have done it a few times.
      Thank you,
      John

      Comment

      Working...
      X