You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I LOVE this plugin and am excited to implement it, but I am encountering a problem with product-specific financial types. I have created multiple products, each with their own civicrm financial type set in the product civicrm tab. But when an order is placed, the contribution record always uses the default financial type that is set in the woocommerce settings.
Also, when I look at the All Products listing, all of the products show the same financial type with "(Default)" listed after. If I edit the product I see the correct financial type, but in the listing it shows the default one.
The text was updated successfully, but these errors were encountered:
leahcooper
changed the title
Financial type set in product not being used
Financial type set in product not being used during sync to contribution
Jul 15, 2021
I think I've fixed this with the following edits to two include files:
In includes/class-woocommerce-civicrm-products.php:
in function columns_content
on line 115
change constant ‘_civicrm_contribution_type’ to ‘woocommerce_civicrm_financial_type_id’
In includes/class-woocommerce-civicrm-manager.php:
in function add_contribution
on line 611
change constant ‘_civicrm_contribution_type’ to ‘woocommerce_civicrm_financial_type_id’
Hello, I LOVE this plugin and am excited to implement it, but I am encountering a problem with product-specific financial types. I have created multiple products, each with their own civicrm financial type set in the product civicrm tab. But when an order is placed, the contribution record always uses the default financial type that is set in the woocommerce settings.
Also, when I look at the All Products listing, all of the products show the same financial type with "(Default)" listed after. If I edit the product I see the correct financial type, but in the listing it shows the default one.
The text was updated successfully, but these errors were encountered: