Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
marketson  
#1 Posted : Friday, May 11, 2012 2:39:18 PM(UTC)
marketson

Rank: Newbie

Groups: Member
Joined: 5/11/2012(UTC)
Posts: 2

hello all,
I'm trying to change the timeout of the popup virtuemart cart.
It seems simple but is not so. on the internet I found a solution but it seems not work, in practice to the line 50 of file /components/com_virtuemart/themes/default/thme.js There is a line of code that says

setTimeout( 'document.boxB.close()', 3000 );

or 3000 milliseconds = 3 seconds.

I do not get if I change this value changes, Also clearing cache,.

could be due to a few lines of code that comes from aurigma plugin?

Any help would be appreciate...

See you soon...

marketson
andreym  
#2 Posted : Friday, May 11, 2012 10:48:23 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
You can change timeout in /components/com_aurigmaphotoorder/assets/aurigmaphotoorder.js file. At the line #126 you should see a code:
Code:
		setTimeout(function() {
			PHO._changeVisibility(true);
			document.boxB.close();
		}, 5000);

Change timeout value and it should work.

Edited by user Friday, May 11, 2012 10:49:37 PM(UTC)  | Reason: Not specified

marketson  
#3 Posted : Thursday, May 31, 2012 4:41:35 AM(UTC)
marketson

Rank: Newbie

Groups: Member
Joined: 5/11/2012(UTC)
Posts: 2

Great andreym,

thanks for all

It works fine.

But now I have a new problem. When sending a new order and I post pictures they have in the name special characters such as (_ , - , /, ecc..) ,tThe email containing the order is incorrect. For example if I send an order in which the name of the photo is 1_DSC03434.jpg, in the report e-mail of the order happens that the image is divided into two separate orders, like this:

Q.ty Name Size Price
1 1.jpg 15x10 € 0.40
1 DSC03434.jpg 15x10 € 0.40

and as if the underscore symbol divide the order into 2 identical parts but wrong for my customer.

What can I do to insert special characters into the characters normally accepted by the order form??

Thanks in advance

Antonio M.

Edited by user Thursday, May 31, 2012 4:52:30 AM(UTC)  | Reason: Not specified

andreym  
#4 Posted : Thursday, May 31, 2012 8:15:53 PM(UTC)
andreym

Rank: Advanced Member

Groups:
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

I've tried to reproduce your problem, but it works for me. There is one line in the order email. I have virtuemart 1.1.9 and photoorder 3.2.0 installed. Does it happen on the same version? Is it only email or on the order page too?

Edited by user Thursday, May 31, 2012 8:18:39 PM(UTC)  | Reason: Not specified

andreym attached the following image(s):
order-email.png
order.png
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.