Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Dropdown Shopping Cart(SKU# FLEX-00001)

TOPIC: z-index

z-index 10 years 10 months ago #5003

Hi,

I just got the flexible dropdown cart but cant;t find a way to make it show ontop of the main menu.
As you can see at
demo.multitec.gr
when hovering over the flexible dropdown cart the dropdown menu goes behind the main navbar. I know it's a z-index issue but don't know where to put what.
Can you please help

Kind Regards
The administrator has disabled public write access.

z-index 10 years 10 months ago #5011

try demo.multitec.gr/modules/mod_maximenuck/themes/css3megamenu/css/moo_maximenuhck.css line 7

div.maximenuckh ul.maximenuck {
clear: both;
position: relative;
z-index: 9;
}
Attachments:
The administrator has disabled public write access.

z-index 10 years 10 months ago #5017

thanks. works great!


Kind Regards
The administrator has disabled public write access.

z-index 10 years 10 months ago #5018

Seems remove button does not work
The administrator has disabled public write access.

z-index 10 years 10 months ago #5020

update: when clicking remove it _does_ seem to remove the product but the removal is not displayed. If you press remove and then browse to an other page the module is showing the correct products
The administrator has disabled public write access.

z-index 10 years 10 months ago #5039

The administrator has disabled public write access.

z-index 10 years 10 months ago #5042

Tried it but got

ReferenceError: vmSiteurl is not defined


Kind Regards
The administrator has disabled public write access.

z-index 10 years 10 months ago #5065

yes - see this - very odd ... have notified development dept..

Cheers
The administrator has disabled public write access.

z-index 10 years 10 months ago #5069

Hi,

First of all,
These 2 variables;
vmSiteurl = '' ;
vmLang = "";

Are defined by Virtuemart Component. And Virtuemart doesn't defined them in every page, simply because those are not necessary in all pages. Those variables are required to run the "removal" function.

Shopping cart page is just one of them. Removing the product from "shopping cart module" through the module while you are in shopping cart page, doesn't make any sense. Because there is already DELETE button in the shopping cart page.
See the screenshot to understand what i am saying:

Attachment Pasted_Image_6_8_13_3_59_AM-3-3-3.gif not found



Beside, just consider this; you deleted the product from the dropdown shopping cart module. Since the removal will be AJAX based only through module, product will be gone from the module, but the shopping cart page will have the product (even though it doesn't exist anymore in the system, but this is advantage of AJAX, refreshing the entire page is not required to do things.) the shopping cart page (the whole page) won't be updated by AJAX. it will require a regular page refresh.

Anyway, if you insist to make shopping cart module AJAX function works in shopping cart page, (where those 2 variables are not defined) You can manually define those variables, and no matter which page you are, our shopping cart module will run the removal function.

Open this PHP file:

/modules/mod_flexible_cart/tmpl/default.php

And find this line (line 60th):
jQuery.getJSON(vmSiteurl+'index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json'+vmLang,

and replace it with this:
vmSiteurl = 'http://demo.multitec.gr/' ;
vmLang = "";
jQuery.getJSON(vmSiteurl+'index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json'+vmLang,

And the dropdown shopping cart will remove the product from the module (even though you are in the shopping cart page)
But believe me, this is not what you are looking for. IF you did it, your buyers would be confused. Because in the lower of screen, they will keep seeing the product in the shopping cart page, while the "shopping cart" module says: NO PRODUCT IN THE CART.


Regards.
Forum Support.
Last Edit: 10 years 10 months ago by Support.
The administrator has disabled public write access.

z-index 10 years 10 months ago #5071

Hi and thanks for the reply.
Note that even I am not the average user I am totaly confused about this functunality. Now that you epxlaned it I get it but....
It would much better if the remove button did not show up in the shopping cart page or even better remove the remove button all together.

Kind Regards

PS. And while on the topic of confusing. when / why is "subtotal" displayed? I sometimes see subtotal and some other times total
Also the checkout button sometimes changes too from checkout to show cart.
Last Edit: 10 years 10 months ago by NICK NIKTARIS.
The administrator has disabled public write access.
Time to create page: 0.086 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