Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Drop down shopping cart

Drop down shopping cart 8 years 5 months ago #7840

The topic has been locked.

Drop down shopping cart 8 years 5 months ago #7852

Hi,

Thanks for rising this issue. I don't know how we didn't notice this problem before. Basically it happens because the jQuery library not being loaded in the subpages in our DEMO page (but in the modern joomla templates, all joomla templates loads the jQuery library already in every single pages, simply because of the drop down main menu, maybe this is why nobody has reported this problem before)

The solution is so easy to resolve though.

Basically this file should be opened:
templates/YOUR_TEMPLATE/html/com_virtuemart/assets/includes/flexibleMartGlobal.php

and this line
defined('_JEXEC') or die('Restricted access');

should be replaced with this:
defined('_JEXEC') or die('Restricted access');
vmJsApi::jQuery();

And the problem will be resolved.

Regards,
Support
Last Edit: 8 years 5 months ago by Support.
The topic has been locked.

Drop down shopping cart 8 years 5 months ago #7859

Hi

i did everything you told me to do but
it still does not work. Is there anything else we could try?
Thank you in advance for your prompt response.
The topic has been locked.

Drop down shopping cart 8 years 5 months ago #7865

Hi again

I resolved my issue, by calling directly jquery from my template <head> with this line
< s cript   src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </ s cript >

Thanks
Have you a nice time
The topic has been locked.

Drop down shopping cart 8 years 4 months ago #7879

Including the SCRIPT tag manually is an another way of doing it.
Actually
vmJsApi::jQuery();
does the same exact thing (but loads jQuery1.6.4). I don't know why it didn't work for you, but anyway; I am glad you found a way to solve the problem by using your own way.

Case solved. Topic is closed.

Regards,
Support
Last Edit: 8 years 4 months ago by Support.
The topic has been locked.
Time to create page: 0.160 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo