Okay
  Public Ticket #3678808
Prices DISPLAY included tax for b2c and excluded tax for b2b
Closed

Comments

  •  1
    Marzia started the conversation

    Hello!

    I tried your demo because I need to display prices included tax for b2c and excluded tax for b2b. 
    The tax applied for both customers is 10%, but for b2c customers the prices need to be displayed included tax,  eg.  22€
    while for b2b customers the price should be displayed as follow:
    20€ + 10% (tot. 22€) - using a suffix.

    I tried to follow this tutorial, but it seems like that in this case "excluded tax" has a different meaning for what I mean, and it means "tax exempted".

    https://woocommerce-b2b-plugin.com/docs/how-to-display-prices-excluding-tax-for-b2b-users-and-including-tax-for-b2c-users/

    Is it possible to achieve what I described above?

    Thank you for support!

  •  2,114
    WebWizards replied

    Hello Marzia,

    Thank you for getting in touch with us,


    I believe what you described would work through our "tax exemption" rules, set to "pay tax in cart: yes": https://woocommerce-b2b-plugin.com/docs/how-to-display-prices-excluding-tax-for-b2b-users-and-including-tax-for-b2c-users/#5-toc-title

    When set this way, the final price paid by both B2B and B2C would be the same (22€ in your example), and the difference would only be in how prices are displayed.

    Usually the display in that case would look as follows:

    For B2C: "22€ inc. VAT"

    For B2B: "20€ ex. VAT"

    The price suffixes for "ex. VAT" and "inc. VAT" are fixed texts that be customized to say anything you'd like. So if it would help, you could change "ex. VAT" to something like "+10% VAT", and then B2B users would see the price as "20€ + 10% VAT".


    Hope that helps clarify it, but let me know if you have any questions,

    Kind regards,

    Stefan

  •  1
    Marzia replied

    Hello Stefan,

    thank you for you reply!

    I use this suffix:

    +IVA 10% (tot. {price_including_tax})

    example: 20€ + iva 10% (tot. 22€)

    but I noticed that your field is probably simple text and does not output the value.

    Thank you!

  •  2,114
    WebWizards replied

    Indeed our suffix area does not support those kind of placeholders. Part of the issue is that if a user is tax exempt, placeholders such as {price_including_tax} do not return accurate values as the tax for the current user is 0.


    I believe we can help with a PHP code snippet to add a "(tot. 22€)" text to the end of the suffix, based on a fixed 10% tax rate. However that would not work if the tax rate is variable.

  •  1
    Marzia replied

    Ok I understand the issue and I will take this into consideration.

    I was interested in your plugin because it also manage percentage discounts. (I found al lot of troubles with other plugins) Adding custom snippets can generate incompatibility when discounts are applied.

    But maybe it can be valuable make in the future a plugin implementation: accepting placeholders and add a checkbox to remove suffix in case of tax exemption.

    Thank you so much! :)

  •  2,114
    WebWizards replied

    Appreciate the feedback,

    We will look further at adding support for those kind of placeholders in future updates. We agree it would be a nice addition here, just that we need to find some good ways to calculate the tax accurately.