• Hi!

    We are experiencing some issues with Vipps when combined with the Product Bundles plugin (by SomewhereWarm). When our users try to buy bundled products with Vipps, we get the error “Unknown product – could not create order” in front end.

    Is there something we can do to make Vipps work with the bundled products?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Iver Odin Kvello

    (@iverok)

    We did at some point add some support for this plugin; it is unfortunately not super-easy to do as it both creates new product types and overrides the Cart to implement its functionality.

    Have you tried to activate the “compatibility mode” in the settings? I think that is required for product bundles due to this. If so, I can show you a filter that would enable compatibility mode for bundles, and normal functionality for normal products.

    Compatibility mode changes express checkout so that instead of buying just the single product, it is in fact added to the cart normally and then processed. This will be a lot more compatible, but will sometimes work just a bit suboptimally when there are products present in the cart already for instance.

    Thread Starter erikadsign

    (@erikadsign)

    Hi, thanks for the swift reply!

    I tried compatibility mode just now, and it seems to be working with the Product Bundle plugin, but now we’re seeing a new issue with a Side Cart plugin (by XootiX) where the Vipps “buy” button just spins until we reload the page, at which point it adds the product to the cart, but doesn’t process it.

    I understand it’s a lot to ask, but do you know of any workarounds / ideas to make it work with both plugins?

    If not, no worries.

    Plugin Author Iver Odin Kvello

    (@iverok)

    I’ll look into it. I guess this is the plugin?

    https://wordpress.org/plugins/side-cart-woocommerce/

    The error would then occur on a product bundle page when pressing “Buy now”? Or is it local to the side cart thing.

    Thread Starter erikadsign

    (@erikadsign)

    Sorry for the late reply, I did not notice you had answered.

    Yeah, that is the plugin. The error occurs on a product page when we try to checkout with Vipps Hurtigkasse.

    Plugin Author Iver Odin Kvello

    (@iverok)

    The problem is the “ajax add to cart” feature of the Sidecart plugin. If you un-hook this feature in the settings, express checkout will work normally (with compatibility mode on.)

    If you prefer to have ajax-add-to-cart on, you can turn off the “Buy now” button for bundles easily enough by doing

    add_filter('woo_vipps_show_single_product_buy_now', function ($showit, $product) {
        if ($product->is_type('bundle')) return false;
    }, 10, 2);

    Unfortunately, I couldn’t find a way to turn off the “ajax add to cart” feature for specific product types only.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Vipps conflict with product bundles’ is closed to new replies.