Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Assign Tax at Shipping method

    General Discussion
    2
    2
    264
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      niug last edited by

      Is it possible to assign taxes at the shipping methods? I need to add the cost of the ship in the base of the tax, and i need to increase the amout of tax with this cost.

      Now I have assigned at the shipping method the cost of shipping with tax included, the total amount of invoice is correct, but the tax values not.

      Example actual:

      Total items: 25,07€
      Shipping: 40€
      IVA 4%: 0,8€
      IVA 21%: 1,06€
      Total 66,93€

      -This amount is correct, but i need this:

      Total items: 25,07€
      Shipping: 33,06€
      IVA 4%: 0,8€
      IVA 21%: 8€
      Total 66,93€

      I can force the code in the theme but i prefer save the amounts correct in the database. Some idea?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @niug

        You need to override cart facades for it, in this facades override calculateItemsTax function, which is responsible to calculate the tax of item and in this function add your amount with tax.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post