Double carts total - by francisco - on WordPress WooCommerce support

This topic has 27 replies, 3 voices, and was last updated 10 years, 7 months ago ago by Brian Johnson

  • Avatar: francisco
    francisco
    Participant
    May 1, 2015 at 20:12

    Hi,

    I have double carts total in my Royal theme ( see the image here image).

    I added the code <?php do_action( ‘woocommerce_cart_collaterals’ ); ?>
    in the file wp-content/themes/woopress/woocommerce/cart/cart.php

    But this code removed the “cross sells” from my cart in every product.

    Is there another solution that doesn´t delete the cross sells?

    Thank you!

    26 Answers
    Avatar: francisco
    francisco
    Participant
    May 1, 2015 at 20:13

    here there is a link to the image

    Avatar: francisco
    francisco
    Participant
    May 1, 2015 at 20:14
    Avatar: francisco
    francisco
    Participant
    May 2, 2015 at 17:04

    Hi,

    I have double carts total in my Royal theme ( see the image here http://prntscr.com/70dgca).

    I commented the code <?php do_action( ‘woocommerce_cart_collaterals’ ); ?>
    in the file wp-content/themes/woopress/woocommerce/cart/cart.php

    But this code removed the “cross sells” from my cart in every product.

    Is there another solution that doesn´t delete the cross sells?

    Thank you!

    Avatar: Eva
    Eva Kemp
    Participant
    May 3, 2015 at 09:58

    Hello,

    Please provide us with FTP and wp-admin panel credentials in private content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 3, 2015 at 11:02

    Hello Eva,

    I send the FTP and wp-admin panel credentials.

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 4, 2015 at 08:55

    Hello,

    I’ve added this code in style.css of the child theme:
    .cart-collaterals .cart_totals {display: none !important;}
    Please check Cart page now.

    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 10:02

    Hi Eva,

    Thank you.

    This solution delete the duplicated total cart below of the cross sells, but the Flat Rate Shipping doesn´t work for my additional rates in the up cart here image (http://prntscr.com/71ccdm).

    When I have the other cart this Flate rate shipping works (image http://prntscr.com/71cffl).

    Is there any solution for the cart up work and dont display the car down?

    thanks!

    thank you!.

    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 10:04

    login

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 4, 2015 at 17:16

    Hello,

    We can’t check the issue because we’re getting this message:
    http://storage1.static.itmages.com/i/15/0504/s_1430756094_4176708_7bf3eecc77.png

    How can we replicate the problem?

    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 18:03

    Hi,

    Thank you for you answer. Now my theme is working.
    Could you check this?

    thank you!.

    info in Private Content

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 4, 2015 at 19:24

    Hello,

    Sorry, but we can’t see the issue from our side.
    Please view screenshot what message we’re getting:
    http://i.imgur.com/4yr23uN.png

    Please give us permissions to be able to check shipping options.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 19:32

    Yes, You can to check shipping options.

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 22:37

    Hi,

    I have resolved the issue #61476.

    I had the wrong Default Customer Address, so I changed this from “Geolocated Address” to “Shop base address”.

    Now I just have the duplicated carts. When I used the css .cart-collaterals .cart_totals {display: none !important;} this option deleted the cart below. In the cart above the shipping flate rate doesn´t work.

    How can I display only the cart above and resolve the problem with the shipping rate working?

    image (http://prntscr.com/71l2he)

    Thank you!

    Avatar: francisco
    francisco
    Participant
    May 4, 2015 at 22:44

    I have 2 produtc examples with crosssells, here the likns:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 5, 2015 at 08:46

    Hello,

    I’ve edited some file.
    Please clear your browser cache and check shipping methods again.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 5, 2015 at 10:21

    Hi,

    Than you.

    I checked shipping methods again.

    We had duplicates carts, so I used the css .cart-collaterals .cart_totals {display: none !important;} this option deleted the cart below and display my cross sells, thanks!.

    But In the cart above the shipping flate rate doesn´t work.

    How can I display only the cart above and resolve the problem with the shipping rate working?

    image(http://prntscr.com/71q8gd)

    Now I have the cache disable and clear my browser cache

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 5, 2015 at 12:02

    Hello,

    Could you please give us permissions to check shipping methods?
    We can’t do this from our side because we’re getting this message http://i.imgur.com/4yr23uN.png
    Perhaps the reason is you limited purchases only from your country.
    So please give us opportunity to be able to check shipping methods to investigate the issue.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 5, 2015 at 12:14

    Yes you can to check shipping methods.

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    May 5, 2015 at 12:46

    Hello,

    Please try to disable all 3rd-party plugins and check shipping methods cleared browser cache before.
    We checked shipping methods on our demo site and they are working correctly.

    Regards,
    Eva Kemp.

    Avatar: francisco
    francisco
    Participant
    May 5, 2015 at 13:09

    I disabled all 3rd-party plugins and checked shipping methods cleared browser cache before and
    had the same issue.

    I have a test web for this shop in other domain and the above cart doesnt work also.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    May 5, 2015 at 14:00

    Hello

    I have commented following line in cart.php within child theme:
    Please check your site now.

    With best regards
    Brian Johnson

    Avatar: francisco
    francisco
    Participant
    May 5, 2015 at 14:46

    Thank you Brian,

    In the last solution (#61587)
    We had duplicates carts, so I used the css .cart-collaterals .cart_totals {display: none !important;} this option deleted the cart below and display my cross sells, but In the cart above the shipping flate rate doesn´t work. (http://prntscr.com/71q8gd)

    when you commented in cart.php within child theme:< ?php //do_action( ‘woocommerce_cart_collaterals’ ); ? The below cart display and works the shipping mode, but the cross sells don+t display. (http://prntscr.com/71sipd)

    I see in google that in other themes commented <?php woocommerce_cart_totals(); ?>. Can it woks?

    thank you!

    Please, contact administrator
    for this information.
    Avatar: francisco
    francisco
    Participant
    May 5, 2015 at 14:52

    I have 2 produtc examples with crosssells

    Please, contact administrator
    for this information.
    Avatar: Brian Johnson
    Brian Johnson
    Member
    May 6, 2015 at 11:27

    Hello

    I have replaced previously commented code with <?php woocommerce_cross_sell_display(); ?>

    With best regards
    Brian Johnson

    Avatar: francisco
    francisco
    Participant
    May 6, 2015 at 12:17

    Thank you very much for your help Brian!
    Now my shop works.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    May 6, 2015 at 12:29

    You are alway welcome!

    With best regards
    Brian Johnson

  • Viewing 27 results - 1 through 27 (of 27 total)

The issue related to '‘Double carts total’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.