Jump to content

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


Ovi
 Share

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');
           //   });
       }

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More