Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3808438
"Cart & Checkout" settings don't work in blocks
Open

Comments

  •  3
    Zappo started the conversation

    Hello,

    I am currently trying to replace the classic WooC checkout with the new block-based checkout and have now realised that the settings of the plugin under ‘Cart & Checkout’ have no effect on the display in the cart or checkout (s. screenshots).

    Are the cart and checkout blocks not supported? The options work as expected in the classic layout.

    Best regards
    Joerg

    Screenshot classic cart
    Screenshot block cart
    Screenshot settings

  •  1,337
    Dustin replied

    Hi Zappo,

    WooCommerce Cart/Checkout Block is in development and doesn't entirely support standard action/filter hooks. Here are supported hooks https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce-blocks/docs/#third-party-developers

    Rest assured, we eagerly anticipate this development and are committed to promptly integrating it into our plugin once it is made available. Your satisfaction is our top priority, and we strive to provide you with a seamless user experience.

    Best regards,
    Dustin

  •  3
    Zappo replied

    Hi Dustin,

    thank you for your answer, but unfortunately I don't understand the content: who is responsible for the presentation?

    And in case it was misleading: it's not just about the pure presentation (i.e. the how), but about the ‘what’. 

    The ‘bundled products’ should not be displayed in the shopping basket and not in the checkout, as it is set in the settings and is also correctly implemented in the classic shopping basket, as shown in the screenshots.

    This should be a function of the plugin, not the block, right?

    BR, Jörg

  •  1,337
    Dustin replied

    When writing add-ons for WooCommerce, we must use their hooks for our function.

    The simplest example is displaying products in the shopping cart. We used the following standard hooks:

    3306402597.png

    However, the new cart block doesn't support these hooks. WooCommerce lists the hooks that the block supports here: https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce-blocks/docs/#third-party-developers 

    I think that issue also happens with other product bundle plugins here: https://wordpress.org/plugins/search/product+bundle/

    Best regards,
    Dustin

  •  3
    Zappo replied

    Hi Dustin,

    many thanks for this explanation!

    So we all have to wait, that WooC adds the hooks.

    We will stick with the classic checkout until then, as there is obviously no other option.

    Best regards
    Joerg

  •  4
    Sebastian replied

    I have this problem too. But I can't change to the classic card and checkout, because I'm using the local pickup in the new block. 

    I'm writing to this problem also in the WooCommerce Slack challenge. I'm looking forward, what is the answer to the problem.

  •  4
    Sebastian replied

    And Dustin, this plugin works fine at the block:

    https://wordpress.org/plugins/easy-product-bundles-for-woocommerce/

    You can not edit the amount or can not delete some articles of a bundle. Only the "bundle article"
    So please check this plugin, how it works and update please your amazing plugin for the block checkout and card.

    Thank you very much!!

    Sebastian

  •  4
    Sebastian replied

    It looks like, they are using JavaScript to influence the cart and checkout. Maybe you can do it also?

  •  4
    Sebastian replied

    Another answer from the WooCommerce Community

    It's true that the new cart approach doesn't use the same hooks. And I have been complaining about the lack of parity in the block cart compared compared the old for at least 5 years.. or whenever the cart block was first introduced. But I also have disabled quantity editing for bundled items in my own plugin, as has WooCommerce Product Bundles (And presumably Composite products) so it's entirely possible.

  •  1,337
    Dustin replied

    Hi Sebastian,

    Thank you so much for pushing us to resolve this issue.

    Please update our plugin to the latest version 8.2.0. We've fixed it.

    Best regards,
    Dustin

  •  4
    Sebastian replied

    Hey Dustin,

    thank you very much.

    Can you fix "WPC Composite Products for WooCommerce" ?

    Best regards


  •  4
    Sebastian replied

    Hi Dustin,

    i testet the bundle plugin, too.

    There is an error at the price and save of the bundle.

    The new bundle price is not shown and the save is the original price of the articels.

    Best regards

    Sebastian

    Attached files:  Screenshot 2025-02-11 213542.png

  •  1,337
    Dustin replied

    We've released an updated version, 7.5.0, for WPC Composite Products.

    We will review and fix the relevant bundle/composite pricing parts in the next few days.

    Best regards,
    Dustin

  •  3
    Zappo replied

    Hi Dustin,

    thank you for the new version, the shopping basket looks much better now, you probably have no influence on the display of the quantity in stock and the item description (which should not be displayed), do you? (Screenshot 1)

    It would be important to me now that the checkout is also adapted accordingly, see screenshot 2.

    Thank you for your support.

    BR, Joerg

    PS: in the checkout it is basically just a CSS command that hides the bundled products... it should be quite easy to implement that this can be controlled via the settings.

    .wc-block-components-order-summary-item.woosb-bundled.woosb-hide-bundled {
        display: none !important;
    }

    Attached files:  screenshot1.png
      screenshot2.png

  •  3
    Zappo replied

    Sorry, I have to do a new message, because I can't add files in the last one:

    If the quantity in the shopping basket is changed, a message (see screenshot 3) appears for all bundled products. How can this be prevented? This message only appears for bundled products.

    Attached files:  Screeshot 3.png

  •  4
    Sebastian replied

    Hi,

    I have another issue in the cart. There is an option to show the sub-product in a new line. But the plugin don't show each article in a new line.

    Can you fix it, too?

  •  4
    Sebastian replied

    hi dustin,

    when do you think the next update will come?

    best regards