Jump to content

[SOLVED] AJAX cart hiding "0" when no products are in the cart


Ovi

Recommended Posts

The AJAX cart hides the "0" when the cart is empty. I want it to display "Products: 0" like it normally does when there ARE products in the cart.

Any idea where the code line is for this? I dug ajax-cart.js but no success...

Thanks!


edit:
Okay found it, comment lines 531,532,533 contained in the else

       else
       {
           //   $('.ajax_cart_quantity:visible, .ajax_cart_product_txt_s:visible, .ajax_cart_product_txt:visible, .ajax_cart_total:visible').fadeOut('slow', function(){
           //     $('.ajax_cart_no_product:hidden').fadeIn('slow');
           //   });
       }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...