VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: wojt3k9 on October 20, 2011, 13:04:40 pm

Title: Problem with "ask a question about this product" confirmation (RC2 H)
Post by: wojt3k9 on October 20, 2011, 13:04:40 pm
Hi,
I'm using virtuemart 1.9.8H and joomla 1.7.1. After submitting "ask a question about this product" form in facebox window load my whole template, so i have to scroll down, to find information about result and window close button. Here is another problem, button doesn't work. In Firebug Console after pressing this button I have error
Code: [Select]
window.parent.document.getElementById("sbox-window").close is not a function In Facebox window with my layout is another jquery so probably that cause this problem. Why my whole template is loading there? I want only information from mail_confirmed.php.
Thanks in advance.


//Edit
First problem I solved by adding
Code: [Select]
<input type="hidden" name="tmpl" value="component" /> in askquestion form, but button still don't close window.

[attachment cleanup by admin]
Title: Re: Problem with "ask a question about this product" confirmation
Post by: PRO on October 20, 2011, 21:01:34 pm
have you tried upgrading to version i  ?
Title: Re: Problem with "ask a question about this product" confirmation
Post by: wojt3k9 on October 21, 2011, 09:20:22 am
not yet
Title: Re: Problem with "ask a question about this product" confirmation (RC2 H)
Post by: charles99 on October 21, 2011, 17:34:42 pm
And it still does not work!  After you submit your question and get the thank message nothing happens when you click on the close button...
Title: Re: Problem with "ask a question about this product" confirmation (RC2 H)
Post by: PRO on October 21, 2011, 17:40:31 pm
you can also upgrade to J now

AND, if you template/menu/ etc uses jquery , disable the virtuemart jquery