News:

Support the VirtueMart project and become a member

Main Menu

Ask a question button opens popup with site homepage [solved]

Started by depika, November 25, 2015, 13:54:00 PM

Previous topic - Next topic

depika

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

depika

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.

GJC Web Design

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

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

depika

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?

GJC Web Design

in Firebug Net tab when u click the button#

compare the detailpage template with the stock one
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

depika

I have compared it and I am stuck. Can I please send it to you?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

depika

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.

GJC Web Design

It all sounds like template problems..  you can find mine and other developers opinions on T3 based templates on the forum here..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

depika

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!

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation