VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: depika on November 25, 2015, 13:54:00 PM

Title: Ask a question button opens popup with site homepage [solved]
Post by: depika on November 25, 2015, 13:54:00 PM
I am using VM 3.0.12 and joomla 3.4.5

When I press the ask a question button a popup appears but it displays the category view page.

I have checked the code and the url is like this at the template file
$askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE);


the html code is like that

<div class="ask-a-question">
              <a rel="nofollow" href="/index.php?option=com_virtuemart&amp;view=productdetails&amp;task=askquestion&amp;virtuemart_product_id=1735&amp;virtuemart_category_id=131&amp;tmpl=component&amp;lang=el" class="ask-a-question">Ask a question about this product</a>
             
          </div>

but the site's homepage loads at the popup.

I would appreciate your help
Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 13:06:20 PM
Anyone?
If I copy the link to the url adress bar then the Ask a question form opens ok

Otherwise at the popup the site's home page loads

http://j3.sfragidadiko.gr/index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=1735&virtuemart_category_id=131&tmpl=component&lang=el

is the link I have.

http://j3.sfragidadiko.gr/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1735&virtuemart_category_id=131&lang=el
Is the product. Press the link in Red --> "Ρωτήστε μας για το προϊόν" it is at the right of the product price.
Title: Re: Ask a question button opens popup with site homepage
Post by: GJC Web Design on December 10, 2015, 13:13:33 PM
have u tried with the standard template protostar?

if it works then it is your template

button sends a very odd get -- >  http://j3.sfragidadiko.gr/undefined

Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 13:38:25 PM
I cannot view the product page with protostar. I am getting the error T3 framework is not loaded.

How did you get this undefined at the url?
Title: Re: Ask a question button opens popup with site homepage
Post by: GJC Web Design on December 10, 2015, 13:40:49 PM
in Firebug Net tab when u click the button#

compare the detailpage template with the stock one
Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 13:45:43 PM
I have compared it and I am stuck. Can I please send it to you?
Title: Re: Ask a question button opens popup with site homepage
Post by: GJC Web Design on December 10, 2015, 13:53:58 PM
are u hiring me?
Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 13:58:16 PM
Quote from: GJC Web Design on December 10, 2015, 13:53:58 PM
are u hiring me?
I wish I could. no budget for this.
Title: Re: Ask a question button opens popup with site homepage
Post by: GJC Web Design on December 10, 2015, 14:00:24 PM
ah .. its a tough old world....  ;)
Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 14:03:22 PM
Quote from: GJC Web Design on December 10, 2015, 14:00:24 PM
ah .. its a tough old world....  ;)
Especially at the country I am living. Thank you for the hint. I will try to find out the problem.
I just found out another issue which is more serious. the custom plugin fields are not displayed at the cart although I have set them to be cart enabled.
Title: Re: Ask a question button opens popup with site homepage
Post by: GJC Web Design on December 10, 2015, 14:31:29 PM
It all sounds like template problems..  you can find mine and other developers opinions on T3 based templates on the forum here..
Title: Re: Ask a question button opens popup with site homepage
Post by: depika on December 10, 2015, 15:30:41 PM
Quote from: GJC Web Design on December 10, 2015, 14:31:29 PM
It all sounds like template problems..  you can find mine and other developers opinions on T3 based templates on the forum here..
You were right. I copied the vm original files and everything is ok!
I appreciate your help!
Title: Re: Ask a question button opens popup with site homepage [solved]
Post by: GJC Web Design on December 10, 2015, 15:53:32 PM
Good -- marked solved