Tagged: 

Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #786309

    Hi there,

    i just can not figure out, why every product i add to my cart ist placed there in double number…

    Any idea?

    Thanks, Tobi

    #786375

    Hey Tobias,

    I have checked your site and I couldn’t any issue when I add to cart, can you give us a screenshot showing the issue? you can upload the screenshot in http://imgur.com/ and post the link here.

    Best regards,
    Nikko

    #786464

    Hi Nikko,

    Sorry, i was not completely clear:

    The number on cart page is right. It’s the number next to the cart symbol in the breadcrumbs bar (right side).
    It’s alway double than the items , that are really in cart.

    So only a visual problem.

    Tobi

    #786474

    Here a screenshot

    #786885

    Hi,

    Can you try to deactivate all plugins except woocommerce? it might be caused by some plugin conflict. If that fixes the issue, try to activate the plugins one by one to determine which plugin causes the issue, if it doesn’t help, can you give us temporary admin access and permission to deactivate plugins?

    Best regards,
    Nikko

    #787228

    Hi Nikko,

    i deactivated all of them, without succes. See admin acces data below.

    Check out Custom CSS. I added somes code to set the cart symbol inside breadcrumbs bar. Maybe there is something wrong…

    Tobi

    #788283

    Hi,

    The “add to cart” button is missing on every products. Could you please provide a link to the product that we can use to test the issue?

    Best regards,
    Ismael

    #789351

    Right, there are still no prices set. Only here:

    Tobi

    #789550

    Hi,

    Thank you for the update. I just noticed that the site is still using an old version of the theme, 3.7.1. Please update to version 4.0.5.

    Best regards,
    Ismael

    #790451

    Hi Ismael,
    ok, all updates done. WP, Theme and Woocommerce.
    Problem with the cart count remains.

    Thanks for having another look.

    Tobi

    #790463

    Also, my product/category images and the titles below are now way too big and also i removed the number at the end of the category title (see link below). Thought this was adjusted in Quick CSS, but obviously not.

    Any idea where i lost these settings during update?

    Thanks, Tobi

    #790922

    Hi,

    Please add this code to fix the title.

    .woocommerce-loop-category__title {
        font-size: 15px;
        padding: 10px 10px;
    }

    We are still not sure sure what’s causing the cart number issue. We’ll update you here once we found a solution.

    NOTE: The login credentials above are not working. Please check it carefully.

    Best regards,
    Ismael

    #790980

    Hi Ismael,

    seems that the password did not work anymore. Created a new one. See below.

    And i added your code to quick CSS. No effect. Please habe a look, too, when you are logged in.

    Thnaks, TObi

    #790985

    Please note, that all my quick CSS code concerning shop product titles doesn’t seem not to work anymore…

    like this one:

    .product-category.product a h3 mark.count{
    display:none !important;
    }

    #791248

    Hi,

    The reason it’s not working is because woocommerce doesn’t use h3 on it anymore but h2. I have changed this code you have:

    .product-category.product a h3{
    background:#d9d9d9 !important;
    }
    
    .product-category.product a h3 mark.count{
    display:none !important;
    }

    to:

    .product-category.product a h2{
    background:#d9d9d9 !important;
    }
    
    .product-category.product a h2 mark.count{
    display:none !important;
    }

    And it does work properly. As for the cart counter issue, can you give us ftp access? so we can check it further.

    Best regards,
    Nikko

    #791561

    HI Nikko,

    Great. Knew it must have to do with the update…

    Changed h3 to h2 on 3 other places and adjusted font size. looks better again now.

    Thanks for that.

    As for the cart count. Seems to be a real strange thing…
    Created you an FTP access, see in private data:

    Good luck!

    #791806

    Hi,

    It seems like this code which moves the dropdown to the breadcrumbs causes the issue:

    function cart_in_breadcrumbs(){
    ?>
    <script>
    jQuery(document).ready(function(){ 
      var htmlString = jQuery('.cart_dropdown').html(),
      movehtmlStringto = jQuery('.title_container');
      movehtmlStringto.prepend('<div class="cart_dropdown">' + htmlString + '</div>');  
    });
    </script>
    <?php
    }
    add_action('wp_head', 'cart_in_breadcrumbs');

    Try to comment this code and then display the cart in its proper location, and you should see the right quantity.

    Best regards,
    Nikko

    #802553

    Hi Nikko,

    ok, i commented this code in functions.php (deacitivated it) and also commented/deactivated this code in quick css:

    #header_main > .cart_dropdown {
    display:none;
    }

    That works, but i am there where i was in the beginning, the symbol is above the bar in the very upper right corner. But i really want to place the cart symbol inside the breadcrumbs bar.
    Is there no way to find out, why it always displays the double number?

    Tobi

    #804279

    Hi,

    I still can’t figure out why it doubles the number, but I’ll try to fix it for you.

    Best regards,
    Nikko

    #804437

    Yes, this is really strange. I’d really appreciate if you find this out for me.

    Should I go back to the state with the symbol in the breadcrumbs bar (and the doubled number)?

    Thanks, Tobi

    #805850

    Hi,

    Please replace the filter in the functions.php file with the following code.

    function cart_in_breadcrumbs(){
    ?>
    <script>
    jQuery(document).ready(function(){
      jQuery('.cart_dropdown').insertAfter('.avia-breadcrumbs');  
    });
    </script>
    <?php
    }
    add_action('wp_head', 'cart_in_breadcrumbs');
    

    Best regards,
    Ismael

    #806906

    Hi Ismael,

    great. this works fine.

    one more tiny thing:

    i realized, there are some thin lines close to the cart symbol.
    (one veritical above and one horizontal to the right)
    any suggestion, how to get rid of them?

    Thanks, Tobi

    #807858

    Hi,

    Please look for the following css modification in the Quick CSS field and remove it.

    .cart_dropdown_first {
        list-style: none;
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
    }
    

    Add this code instead.

    .cart_dropdown {
        top: 46px;
    }
    

    Best regards,
    Ismael

    #808055

    Hi Ismael,

    great. Had to adjust the code a bit more as it was a border that caused the lines:

    .cart_dropdown {
    top: 44px;
    border:none;
    }

    But now i am happy and you can close this very long thread.

    Thanks so much. You are my favourite support guys…. :-)

    Tobi

    #808207

    Hi,

    Glad we could help and thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Woocommerce Shopping Cart Item Count’ is closed to new replies.