• Current Version:

    1. WP core: 5.8.0
    2. WooCommerce: 5.5.1
    3. WooCommerce Product Bundles: 6.11.0
    4. Klaviyo: 2.5.0

    We use the Klaviyo plugin specifically for abandon carts. This functionality works great!!

    The issue we are having is with the way the bundled products are displayed in the abandon cart emails. The price is showing $0.00 for the bundle product and the simple products are displaying the incorrect titles. The incorrect title used is the overwritten title configured for the child products of the bundle.

    To resolve this issue and to prevent our client from making edits to your code, We are asking you to add a filter to the wck_build_cart_data($cart) function.

    This filter will not cause any backwards compatibility issues and should improve your integration with WooCommerce.

    Replace return $event_data;
    with return apply_filters( 'wck_build_cart_data', $event_data, $wck_cart, $cart );
    in wck-cart-rebuild.php on line 171.

    That’s it!!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hi @kevin-brent

    Thanks so much for your feedback. This is a fine idea and something we can likely implement. However, we’d like to ensure that the core functionality around formatting event data for bundled products is not an issue. If this is an issue for other customers as well we’d prefer to resolve this in the plugin rather than provide a work around. Even if this is the case we could still look into providing a filter in this location.

    It does not look like the url shared is the Klaviyo customer account. As such, could you please either share the account name or public account ID? If you’re not comfortable sharing this information in the forum thread would you or your client please reach out to us via our in-app support at klaviyo.com/support (you must be logged in). If you reference the forum topic url we should be able to get to work on this quickly.

    Best,
    Scott

    Thread Starter Kevin Brent

    (@kevin-brent)

    Scott,

    Thanks for getting back to me. I will submit the information via your in-app support so I can include files and screenshots.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom filter for add to cart data’ is closed to new replies.