Closed tomalec closed 4 months ago
Thanks, @martynmjones, for catching that!
I applied your suggestions. Speaking of tests, as there are none for get_formatted_product
so far, WDYT of adding them as a follow-up in the next porter or cooldown cycle?
Thanks :) Created the follow-up issue to track tests https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/442
Changes proposed in this Pull Request:
Add dedicated integration with Product Bundles, Use
->get_bundle_price( 'min' );
instead of->get_price()
for bundles.Fixes https://github.com/woocommerce/woocommerce-google-analytics-integration/issues/219 the simple way.
Checks:
Screenshots:
Detailed test instructions:
view_item
event is tracked with the correct bundle priceadd_to_cart
event is tracked with the correct bundle priceAdditional details:
Changelog entry