You are here

commerce-wishlist-item-details.html.twig in Commerce Wishlist 8.3

Template for the wishlist item details.

Do not remove or modify the wrapping div, it is used by WishlistItemDetailsForm::successfulAjaxSubmit().

Available variables:

  • wishlist_item_entity: The wishlist item entity.

File

templates/commerce-wishlist-item-details.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Template for the wishlist item details.
  5. *
  6. * Do not remove or modify the wrapping div, it is used by
  7. * WishlistItemDetailsForm::successfulAjaxSubmit().
  8. *
  9. * Available variables:
  10. * - wishlist_item_entity: The wishlist item entity.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div id="wishlist-item-details-{{ wishlist_item_entity.id }}">
  16. {% if wishlist_item_entity.getComment %}
  17. <div class="wishlist-item__comment">
  18. {{ wishlist_item_entity.getComment }}
  19. </div>
  20. {% endif %}
  21. <div class="wishlist-item__quantity">
  22. {{ 'Quantity:'|t }} {{ wishlist_item_entity.getQuantity|number_format }}
  23. </div>
  24. </div>