WPprodigy / woocommerce-product-fees

Add additional fees at checkout based on products that are in the cart.
https://wordpress.org/plugins/woocommerce-product-fees/
Other
26 stars 19 forks source link

WooCommerce 3.0+ compatibility #25

Closed rynaldos-zz closed 7 years ago

rynaldos-zz commented 7 years ago

Bumped into this: woocommerce_product_write_panels is deprecated since version 2.6!

PR also solves #24

@WPprodigy

WPprodigy commented 7 years ago

Thanks! I'll to double check <3.0 compatibility before merging and pushing an update. Should have time this weekend

cwuensche commented 7 years ago

I was just coming to write about the incompatibilities. Sadly I'll have to overwrite plugin files locally since these haven't been released as an update yet.

WPprodigy commented 7 years ago

Cool. Looks like both woocommerce_product_data_panels and WC_Product::get_price() existed in WC 2.6. Thanks @rynaldos