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

TOPIC: Modal Pop Up and Drop Down Cart are showing

Modal Pop Up and Drop Down Cart are showing 10 years 2 months ago #7956

When we add a new product to the cart, it shows both, the modal pop-up and the drop down cart (see attachment). when we disable the modal pop up, it does not even add products to the cart which is weird.

We would like the drop down cart just to add +1 product and not showing its content OR remove the modal pop up and show the content once a product has been added....

how do we do this?

please advise asap. thanks!

Attachment Bildschirmfoto2014-01-04um18.11.55.png not found

The administrator has disabled public write access.

Modal Pop Up and Drop Down Cart are showing 10 years 2 months ago #7962

Hi,

I can't provide you a solution to hide the Virtuemart's notification box as this would be considered as "Virtuemart Hack".
But you can browse forum.virtuemart.net and look at the topics. I am sure this has been discussed in there.

But, i can help you to remove the automatic notification box that our module shows off. Normally, our module shows the drop down box right after the product is added to cart, and it remains visible of 5 seconds. Then it fades out by itself (after 5 seconds)

But you can disable this box.

To do that, open this PHP file:
/modules/mod_flexible_cart/tmpl/default.php

Find those lines below and completely remove them:
$$('.addtocart-button').addEvent('click',function() {
		    document.id('product_list').addClass('show_products');
		    (function(){document.id('product_list').removeClass('show_products')}).delay(5000);
		    window.location.hash='cart';
	    });

This removal will disable the "automatic" notification box of our module. So you will only see the Virtuemart's notification box.

Regards,
Support
Last Edit: 10 years 2 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.097 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