• Hi,
    I found that when using WooCommerce with the add-on Composite products (bundles where users can put together their own bundle). The view_item event is triggered first for the bundle (which is correct) and then it’s triggered for each variable product that the user selects as a component in the bundle. And when it triggers the variable product it doesn’t have a name, price etc only the sku is included.
    I’ve managed to get around this by adding

    if ( undefined === product_name ) {
    return;
    }

    at row 819 in the gtm4wp-woocommerce-enhanced.js file

    But this is of course not a good solution. Could you have a look and add a fix in the next update?

  • The topic ‘view_item event for composite products in WooCommerce are double reported’ is closed to new replies.