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.
Kickstart issue related #1708002-5: Create a contrib module for the "custom add to cart message"
So it seems we need a different formatter for the "Commerce Line item: Product " view field.
Using the Drupal Commerce patch #1783462-1: "Rendered product" new formatter for Product reference, we can use the new "Rendered product" formatter for this.
Comment | File | Size | Author |
---|---|---|---|
#1 | change_product_formatter_in_confirmation_view-1783556-2.patch | 11.19 KB | vasike |
Comments
Comment #1
vasikehere is patch that uses the new "Rendered product" formatter (Drupal Commerce patched) for the Confirmation view.
also changed the name of views file and the name of the "view mode"
Comment #2
vasikethere is an error message when add to cart,
but it seems that a solution already exists #1601162: Undefined variable: url in entity.tpl.php
Comment #3
bojanz CreditAttribution: bojanz commentedCommitted.