Home New Guten Forums WoodMart support forum Frequently Bought Together including tax but shows ex tax

Frequently Bought Together including tax but shows ex tax

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #451836

    marcel-1102
    Participant

    I have a question, I have the prices including tax listed with my Frequently Bought Together products. but the total amount is shown ex tax. if I press order, it will also come back incl tax in the shopping cart.

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

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Yes, that is correct. The price of the main product is also included exl. tax. Tax is applied in the shopping cart and on the checkout. This is the way it works. You can add a note about tax amount that would be applied if the legislation requires that.

    If you have any questions please feel free to contact us.

    Best Regards

    #457945

    marcel-1102
    Participant

    that is weird, so with bought together products a customer see excluding tax and the product itself is including tax?

    My programmer fixed the problem. Maby it’s isn’t work after an update. but maby you do something with it.

    in file \wp-content\themes\woodmart\inc\integrations\woocommerce\modules\frequently-bought-together\class-frontend.php lines 412-413 should be changed to:

    $old_price = wc_get_price_to_display($product, array( ‘price’ => array_sum( array_column( $this->subtotal_products_price, ‘old’ ) ) ) );
    $new_price = wc_get_price_to_display($product, array( ‘price’ => array_sum( array_column( $this->subtotal_products_price, ‘new’ ) ) ) );

    #458263

    Hello,

    Frequently bought together includes the taxes. We do not see any problem with taxes on Frequently bought together https://monosnap.com/file/Y1gNvfZqDj1EFj3IwRLsEVXMchZm8y

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case. Please provide more details.

    Best Regards

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