WooCommerce 3.0+ Issue
-
There’s an issue with the latest WooCommerce and your plugin. You can no longer directly get an Order / Product ID by referencing “$order_or_product->id”, you now have to use a getter “$order_or_product->get_id()”. Your site will get a huge warning displayed when checking out if this isn’t resolved.
For anyone having this issue, change “$product->id” on line 22 to “$product->get_id()” in:
“wp-content/plugins/woocommerce-conversion-tracking/includes/integration.php”
Also in the same file, on line 282, change “$order->get_order_currency()” to “$order->get_currency()” for the latest build of WooCommerce. This was changed in the latest WooCommerce as well.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WooCommerce 3.0+ Issue’ is closed to new replies.