Viewing 15 replies - 16 through 30 (of 33 total)
  • It worked fine. Thanks Coen.
    First I tried to comment the line, but it was necessary to erase it.
    Thank you very much

    I had this problem also.

    Looks like a bug that not replace the files in the theme path
    wp-content/themes/YOUR_THEME/woocommerce

    I replace the files with the most update on the path wp-content/themes/norton/woocommerce
    To check if those files are out date go in WooCommerce>>>System Status

    Tremendous solution. Thank you very much.

    Tim0000 don’t search for cart/cart.php within your child theme. Search for it within the parent theme.

    Works like magic!

    Thanks Mate!

    I am having trouble locating the <?php woocommerce_cart_totals(); ?> or part of it. Am I in the correct area to change it: “public html/wp-content/plugins/woocommerce/templates/cart/cart-totals.php. I have also looked in the cart.php”. Am I looking in the correct place? I have used the search function but still unable to locate the <?php woocommerce_cart_totals(); ?>

    That was my issue. It was in my child theme. Thank you so much. ??

    Thanks Coen Jacobs your great!

    markmich,

    Try looking in wp-content/themes/[your-theme]/woocommerce/cart/cart.php

    As I said earlier, these kinds of issues can be avoided if people edit templates in this manner:

    1. Make a custom change to an overriding template.
    2. Document that change somehow.
    3. When a new template version is released, use it as the new overriding template and apply your documented changes to it.

    This way, you’ll always be using the newest versions of the templates. And you won’t have to deal with issues like this cropping up in the future.

    markmich, if you can’t find the actual line that I pasted in here, try searching for just the function name woocommerce_cart_totals and you’ll probably find one in your (child) theme that maybe has the <?php above it, or ?> below it. Same solution applies to this change, just strip out the function call entirely.

    For everyone else reading this, the steps as explained by ericbakuladavis are actually the ones I used to recommend when I was still working on the WooCommerce plugin. ??

    Hi ericbakuladavis and Coen
    Worked perfectly, many thanks for your help.

    Thanks Coen,

    I solved the issue too.

    Thanks this helped me modify my theme.

    It looks like <?php do_action(‘woocommerce_cart_collaterals’); ?> has replaced the functions of <?php do_action(‘woocommerce_cart_totals();’ ?> and <?php do_action(‘woocommerce_proceed_to_checkout’); ?>

    Go into /wp-content/themes/YOUR_THEME/woocommerce/cart/cart.php
    On line 144, delete:

    <?php woocommerce_cart_totals(); ?>

    Worked for me.

    Hope you guys have not completed disappeared. My site https://www.redrebelcase.com is experiencing the two button checkout option as well. I am a beginner and really need in depth directions to fix this action.

    I tried looking for <?php woocommerce_cart_totals(); ?> in my Dashboard/Appearance/Editor (Edit Themes). Completely lost and frustrated.

    Hi byb299

    The Editor in your Dashboard probably doesn’t show you the template you need to edit. You will probably need to access it by navigating through the folders of your WordPress installation. For this, you may use an FTP client or a file browser provided in your host’s admin area.

    Are you familiar with either of these?

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘cart sum two times’ is closed to new replies.