Home Forums WoodMart support forum Side cart

Side cart

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #573845

    hardik119955
    Participant

    All my taxes settings are perfect….. only issue I m having is my side cart shows product price without taxes in my case (ex.GST)

    I want to show price including taxes in side cart !important

    Please guide…
    Refer screenshot

    Attachments:
    You must be logged in to view attached files.
    #574023

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #574035

    hardik119955
    Participant

    Can’t give access right now, please guide accordingly dear….

    #574089

    Hello,

    The price for the cart widget is taken from one place in WooCommerce code. You find it in the file woocommerce/includes/class-wc-cart.php

    `public function get_product_price( $product ) {
    if ( ‘excl’ === $this->tax_display_cart ) {
    $product_price = wc_get_price_excluding_tax( $product );
    } else {
    $product_price = wc_get_price_including_tax( $product );
    }
    return apply_filters( ‘woocommerce_cart_product_price’, wc_price( $product_price ), $product );
    }`

    Best Regards.

    #574093

    hardik119955
    Participant

    What to do with this code dear please guide….

    #574095

    hardik119955
    Participant

    Also I’m taking about side cart.

    I want cart page to show taxes working exactly as its showing right now for each product as I have set.

    I only want side cart to show price including taxes instead of excluding.

    #574143

    Hello,

    Please try to add the code in the functions.php file in your child theme and check how it works.

    Best Regards.

    #574190

    hardik119955
    Participant

    incorrect code, not working

    Please check dear

    Attachments:
    You must be logged in to view attached files.
    #574213

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #574215

    hardik119955
    Participant

    Dear as I mentioned earlier can’t give access right now due to client specific reasons please guide accordingly…..

    Hope you understand

    #574326

    Hello,

    There is no such an option to add Taxes to the mini cart, unfortunately. You find it in the file woocommerce/includes/class-wc-cart.php

    You need to edit the theme files for this. All the customizations made in the theme files are at your own risk

    Best Regards.

    #574362

    hardik119955
    Participant

    there is as I have opted option to show(enable tax rate calculation) that’s why it shows tax working on my cart page and checkout page…..

    But the issue is when this option is enabled the side cart or mini cart show product price excluding of taxes….. and vice versa if disabled.

    in my condition i want to show tax calculation so I have enabled option woocommerce>settings>general>enable taxes

    but i want my mini or side cart display price including taxes.

    please solve this issue, please guide….. I’m looking forward for a help from your side

    Thank You

    Attachments:
    You must be logged in to view attached files.
    #574445

    Hello,

    Sorry to say but right now there is no option in Theme Settings available for that. It requires Customization and this is beyond our limitations and support policy scope.
    Hope you can understand our limitations.

    Best Regards.

Viewing 13 posts - 1 through 13 (of 13 total)