thecrazycodr on "[Plugin: WooCommerce] Api Taxes not returning what is on the server"

ساخت وبلاگ

I'm using the WooCommerce api, latest version to retrieve the taxes in my instance of WooCommerce but i'm never getting the correct data. I seem to always be getting old data.

For example, if i query the /taxes api without a class filter, i get all my taxes, but many of them have an invalid tax-class that was deleted long ago. If i input the tax class filter, i get only a subset. So this is, fine in theory but hear me out.

I export the taxes to CSV, i see the class column is empty and i get all my taxes even the one that are not part of the standard tax class. I clear all taxes, save and then import the CSV. Everything comes back and in theory everything is under the standard tax class but i still get my taxes with long delete tax classes.

Want to know something even better, i have no tax_class on any of my products, but all applicable taxes even the one that are not from the tax_class "standard" still get applied correctly to the order.

How am i supposed to work with this?

https://wordpress.org/plugins/woocommerce/

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 173 تاريخ : سه شنبه 4 خرداد 1395 ساعت: 2:23