In the twig file of sidebar provided by commerce_cart_flyout we tried to add a custom block we have to display cross selling products. The block was correctly rendered but the "Add to cart" buttons of these products were missing; only <drupal-render-placeholder...>
was printed instead of the actual button and form elements due to the lazy builders of Commerce.
Set the second parameter of $this->renderer->render<code> in <code>CartBlock::renderTemplate()
to TRUE
.
Check what else is affected if we introduce this change.
None expected.
None expected.
None expected.
Active
1.0
Code