Author Topic: Problem with "ask a question about this product" confirmation (RC2 H)  (Read 3865 times)

wojt3k9

  • Beginner
  • *
  • Posts: 3
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]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10440
  • VirtueMart Version: 3+
Re: Problem with "ask a question about this product" confirmation
« Reply #1 on: October 20, 2011, 21:01:34 pm »
have you tried upgrading to version i  ?

wojt3k9

  • Beginner
  • *
  • Posts: 3
Re: Problem with "ask a question about this product" confirmation
« Reply #2 on: October 21, 2011, 09:20:22 am »
not yet

charles99

  • Jr. Member
  • **
  • Posts: 57
Re: Problem with "ask a question about this product" confirmation (RC2 H)
« Reply #3 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...

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10440
  • VirtueMart Version: 3+
Re: Problem with "ask a question about this product" confirmation (RC2 H)
« Reply #4 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