Okay
  Public Ticket #3720365
dynamic rule "add tax/fee (percentage)"
Closed

Comments

  • Dennis started the conversation

    Hi! We are considering purchasing your marketing and b2bking plugins, but first I am testing it to meet our needs.

    The monetization scheme is as follows - suppliers receive 100%. Our commission is based on the dynamic "Add tax/free (percentage)" rule, which adds 2% of the cost of the product + an additional 20% tax from this margin of 2%.

    When adding a new product, its price includes tax (10% or 20%).

    In numbers it looks like this

    The price of the product is 150 rubles. ((125 rubles. price without tax) + (25 rubles. tax 20% )).

    Dynamic rule - add tax/fee (percentage) 
    applies to: All products and services 
    For who: All registered users 
    How much: 2%
    Taxable: yes

    The shopping cart now looks like this

    Subtotal - 150,00
    Commission - 3,00
    Total - 153,00 (includes 25,50 НДС (20%))

    But it should be:

    Subtotal - 150,00
    Commission - 3,60
    Total - 153,60 (includes 25,60 НДС (20%))

    That is, the "Add tax/free (percentage)" rule considers the commission from the price of 125 rubles (without tax), but it is necessary from 150 rubles (with tax)

    Do you have any snippet that corrects this behavior, or do i need to change any settings in the plugins.

    The attachment contains all the necessary screenshots related to this situation.

    Attached files:  Woocommerce tax settings.png
      B2BKing Rule details.png
      Cart.png
      Marketking settings.zip

  •  2,212
    WebWizards replied

    Hi Dennis,

    Thank you for getting in touch with us,

    I think there are 2 main options you can take here:


    (A) In the commission rules of the MarketKing plugin, you can choose "ONCE PER ORDER" (instead of choosing 'all products'):

    7578625028.png


    The main difference is that if you choose 'once per order', it is based on the final order price, rather than the price of the products themselves.


    (B) Another option could be to use "Raise price" rules in B2BKing instead of "add tax" rules. The reason is that "raise price" rules directly add the extra cost to the price of the product (instead of adding it to cart / checkout). More info at: https://woocommerce-b2b-plugin.com/docs/raise-increase-prices-for-a-group/


    Kind regards,

    Stefan