Shopping cart dropdown and auto-dissappear?

Hello,

this is not an issue, just a question about the Shopping Cart

Is it possible/difficult that the Shopping Cart dropdown auto appears for a few seconds when the client adds a product to the cart and auto disappears?

Thanks

5 answers

Profile photo of Saguaros 0.00 $tone August 27, 2014
Public

Hi

I still can’t get your idea here. Which ‘shopping cart dropdown’ are you referring to here? You can illustrate the modifications you expect via screenshot, it would be better to give you suggestion.

#1
Profile photo of Mall Staff 184060.00 $tone November 13, 2014
Public

@Altjon Kodra:

Is it possible/difficult that the Shopping Cart dropdown auto appears for a few seconds when the client adds a product to the cart and auto disappears?

=> Please open the template file at path \app\design\frontend\default\jm_leathercraft\template\checkout\cart.phtml
and put in the end of file the block javascript code bellow:

<script type="text/javascript">
(function($){
$(document).ready(function($){
var timeOutToOpen = 2000; //mini seconds
var timeOutToClose = 5000; //mini seconds

setTimeout(function(){
$('#jm-mycart').trigger("mouseenter");

setTimeout(function(){
$('#jm-mycart').trigger("mouseleave");
}, timeOutToClose);

}, timeOutToOpen);
});
})(jQuery);
</script>

With above code, you can change the time to open/close the Cart Sidebar Block.
And don’t forget clean the Magento cache after your changing.
And let me know how it goes.
 

#2
Profile photo of Altjon Kodra 20.00 $tone November 13, 2014
Public

I mean to be triggered “AUTOMATICALLY” when the I click “Add to cart” and  NOT triggered by: mouseenter and mouseleave
I am not asking to make it slower or faster!!!
Is it possible or not?

#3
Profile photo of Lara 4810.00 $tone November 17, 2014
Public

Hi abart,
We are so sorry that we can not provide the customization service at this moment.
Please find a free lancer to help you with this 🙂
Thank you
Lara

#5

Please login or Register to Submit Answer

Written By

Comments