• Resolved despachotres

    (@despachotres)


    Hi,

    Will the fees appear in the invoices?

    I’ll explain the scenario. There are some products that are taxed by the so-called “ecotax” (environment related tax).

    WooCommerce cannot handle the ecotax as Prestashop does, so I thought of this plugin to handle this ecotax.

    Imagine a customer buys 4 products, each one with its ecotax (a different product fee for each one), and they all will appear in the checkout.

    The question: will these fees (ecotax) appear separately in the invoice? Can be added up altogether? For example, imagine product A has an ecotax of $2, product B $3, product C $4 and product D $5. All them sum $14. Can they appear in the invoice as “ecotax: $14”?

    Thanks in advance.

    https://wordpress.org/plugins/woocommerce-product-fees/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Hi despachotres,

    If you name the fees the same name (“ecotax” for example), and enable the “combine fees with the same name” option, then this should work by default 🙂

    Thread Starter despachotres

    (@despachotres)

    Thanks.

    And would this plugin integrate with the Wootheme’s Product CSV Import Suite (https://www.woothemes.com/products/product-csv-import-suite/) to bulk import products from a CSV?

    That is, I have an excel file with a thousand products, and a column with the “ecotax”. Can I import that file and have the “ecotax” set into your “fee amount” field?

    Thanks again.

    Plugin Author Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    You should be able to add a custom column for the fee name and for the fee amount: https://docs.woothemes.com/document/product-csv-import-suite-column-header-reference/#section-4

    The post metas are product-fee-name and product-fee-amount. You can also set product-fee-multiplier to yes or no.

    I’d recommend doing a test import first with just a product or two though to ensure it’s working correctly.

    Also, are these products in a specific category? It would be much more efficient (when dealing with 1000’s of products) to just write a custom function to conditionally add in a fee when a certain category is in the cart: https://docs.woothemes.com/document/add-a-surcharge-to-cart-and-checkout-uses-fees-api/

    Thread Starter despachotres

    (@despachotres)

    I’ll test it, thanks.

    Regarding your question about a specific category, it’s not possible. The ecotax is different for products in the same category, and it’s not even a formula.

    It’s just a fixed value, and can be different for products in the same categories.

    Thanks again.

    Plugin Author Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    Would it be reasonable to collect an array of product ID’s that need the tax?

    Then you could still use a single function for this. (Just trying to think of an easier way for you to manage this).

    Plugin Author Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    In the next update, I’ve added the ability to have fees base their tax class of off the product’s tax class.

    It also has support for WC core’s new CSV product import/export.

    You can download a pre-release copy of the plugin here until version 1.3.0 is released: https://github.com/WPprodigy/woocommerce-product-fees

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fees in invoices’ is closed to new replies.