• Hi all,

    I have buyed the premium version and now i have a problem on the cart page. It always shows the products under the bundle: https://ibb.co/nBSmStD

    there are also some styling issues if you use the “Yes, but list bundled sub-product names under the main bundle in seperate lines” probaly css thingy.

    The settings i use: https://ibb.co/Tw2zp2P

    I am using the Blocksy theme btw. anyone with some solutions or can point me in the right direction to fix it?

    Thanks in advance!

    Kindly regards,

    Pascal

Viewing 7 replies - 1 through 7 (of 7 total)
  • martinrammlerbraeu

    (@martinrammlerbraeu)

    I tried to debug the code, as I see the same issue. It seems like the corresponding filter (in woo-product-bundle: cart_item_visible) is added to the filters for woocommerce_cart_item_visible . That woocommerce filter is called multiple times, but not with the callback from WPB.

    Adding filters works in principle, e.g. the WPB “cart_item_meta” is called from the woocommerce-filter “woocommerce_get_item_data” – in the cart_item_meta callback, the sub-products will be listed, if the setting in the admin-area has been set to “Yes, but shortly list sub-products…”.

    I’m not familiar with wordpress / woocommerce to further debug the issue, and my google-queries seem to not give any relevant results..

    Thread Starter psopacua

    (@psopacua)

    I’ve got the same results as you have. But i did some more investigating and if im right the cartpage is generated by the Gutenberg blocks. So the problem is in the Gutenberg cart block.

    If you edit the cart page and replace the block with the classic WooCommerce cart it will hide the sub products.

    martinrammlerbraeu

    (@martinrammlerbraeu)

    Oh, I’ll check that later, thanks so much!

    This would suggest, that the Gutenberg cart block does not apply all filters, that the standard WooCommerce cart does – which kind of sounds like a bug? I’ll try to dig around some more.

    martinrammlerbraeu

    (@martinrammlerbraeu)

    Going back to the default WooCommerce cart does indeed solve the issue. From my limited code knowledge, I can’t tell whether WooCommerce Gutenberg blocks would need an update or the WPC Bundles extension.

    Plugin Support Janilyn T

    (@janilyn409)

    Hi martinrammlerbraeu? and psopacua?,

    For your information, our plugin is not compatible with the new Cart block from Gutenberg. That’s a conflict in which our developers can’t provide any solution now. Please use the default cart instead.

    Best regards.

    martinrammlerbraeu

    (@martinrammlerbraeu)

    Thanks for pointing this out – if I change the cart to the default cart, I still have the Mini-Cart using the Gutenberg blocks and I have no idea how to change that. Any help would be much appreciated ??

    lijndiensten

    (@lijndiensten)

    Hi all, there is an additional issue with using the Gutenberg checkout: a user can remove all the bundled products and leave only the bundle in the cart. If that bundle has a discount, the bundle price will be that of the discount only, allowing for users to add a number of bundles, remove all the products within it, and have a nice discount on their total order.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cart shows all sub products’ is closed to new replies.