The Cross-Sells block is included in the Cart block for WooCommerce Blocks 8.6.0 or higher.
Adding the Cart block to a page is all that’s required to install the Cross-Sells block initially.
If you want to delete the Cross-Sells block, it can be re-added later as an inner block of the Cart block.
From the Block settings on the sidebar, the merchant can configure how many Cross-Sells products should be visible on the Cart page by using the slider. The merchant can choose between 1 and 6 visible products.
The Cross-Sells block supports all products, whether it’s simple products, virtual products, or affiliate products.
Yes, the logic is the same. Both the Cross-Sells block and the cross-sells products of the short code-based cart get their products using the
get_cross_sells() function from WooCommerce. This way, they behave identically.
The Cross-Sells block has two inner blocks: the Heading block and the Cross-Sells products block.
If a customer could delete the heading block and the Cross-Sells products block, an empty Cross-Sells block would remain on the site. This would lead to the fact that a customer cannot re-add the Cross-Sells block again. To prevent this, the Cross-Sells products block had been locked and cannot be deleted.