VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Administration & Configuration VM 1.1 => Topic started by: Artos on May 03, 2008, 01:16:33 am

Title: Popup after Add to Cart
Post by: Artos 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
Title: Re: Popup after Add to Cart
Post by: pcollet 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
Title: Re: Popup after Add to Cart
Post by: Artos on May 04, 2008, 02:38:31 am
Hello Patrick,

works great, thank you.

Artos