Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
Though very light out of the box. commerce_cart_empty_page may be replaced by a view or something else maybe more expensive to render. Currently it's pre-rendered even when the output isn't needed.
Proposed Solution
Avoid rendering this theme function early.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2822130-2.patch | 1.69 KB | joelpittet |
|
Comments
Comment #2
joelpittetComment #3
joelpittetWhoops possible missing $content in the last patch.
Comment #4
joelpittetComment #5
rszrama CreditAttribution: rszrama at Centarro commentedCommitted, thanks!
Comment #7
joelpittetThanks!