Author Topic: Popup after Add to Cart  (Read 5924 times)

Artos

  • Beginner
  • *
  • Posts: 3
Popup after Add to Cart
« on: May 03, 2008, 01:16:33 am »
Hello,

after the click on the "Add to Cart" button a popup appears for 2-3 seconds. It's too short to read the information in the box and then click one of the two buttons. How can I increase this time?

Thanks
Artos

pcollet

  • Beginner
  • *
  • Posts: 9
Re: Popup after Add to Cart
« Reply #1 on: May 03, 2008, 18:52:31 pm »
Hello,

You have to modify in theme.js (path  from your root /components/com_virtuemart/theme/theme.js)

the line 'setTimeout( 'document.boxB.close()', 3000 );'
in function handleAddToCart

Replace 3000 (millisecond) by the time you want (specified in millisecond).

Patrick

Artos

  • Beginner
  • *
  • Posts: 3
Re: Popup after Add to Cart
« Reply #2 on: May 04, 2008, 02:38:31 am »
Hello Patrick,

works great, thank you.

Artos